Skip to content

Commit cbf5ada

Browse files
committed
v 0.3
1 parent 9cb76e4 commit cbf5ada

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gradle implementation
1212
buildscript {
1313
1414
ext {
15-
stringcare_version = '0.1'
15+
stringcare_version = '0.3'
1616
}
1717
1818
repositories {
@@ -49,7 +49,7 @@ SC.init(getApplicationContext());
4949

5050

5151
#### Encrypt
52-
The script will encrypt all string tags with `hidden="true"` as attribute.
52+
The plugin will encrypt all string tags with `hidden="true"` as attribute.
5353

5454
```xml
5555
<resources>
@@ -111,6 +111,8 @@ apply plugin: StringCare
111111
112112
stringcare {
113113
114+
debug true // prints detail build variant info
115+
114116
modules {
115117
116118
sample {

build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
buildscript {
33

44
ext {
5-
stringcare_version = '0.1'
5+
stringcare_version = '0.3'
66
}
77

88
repositories {
@@ -15,11 +15,7 @@ buildscript {
1515
}
1616

1717
dependencies {
18-
//classpath files('../AndroidPlugin/build/libs/plugin-0.1.jar')
19-
classpath files('../AndroidPlugin/build/libs/AndroidPlugin-0.2.jar')
20-
21-
// classpath "com.efraespada:stringobfuscatorplugin:$aso_sop_version"
22-
// classpath "com.stringcare:plugin:$stringcare_version"
18+
classpath "com.stringcare:plugin:$stringcare_version"
2319
classpath 'com.android.tools.build:gradle:3.0.1'
2420
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
2521
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
@@ -43,6 +39,8 @@ apply plugin: StringCare
4339

4440
stringcare {
4541

42+
debug true
43+
4644
modules {
4745

4846
sample {

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

5-
version = "0.1"
5+
version = "0.3"
66

77
android {
88
compileSdkVersion 25

obfuscator-script.jar

-5 MB
Binary file not shown.

sample/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ dependencies {
3636
})
3737
implementation 'com.android.support:appcompat-v7:26.1.0'
3838
testImplementation 'junit:junit:4.12'
39-
implementation project(path: ':library')
40-
// implementation "efraespada:androidstringobfuscator:$aso_sop_version"
41-
// implementation "com.stringcare:library:$stringcare_version"
39+
// implementation project(path: ':library')
40+
implementation "com.stringcare:library:$stringcare_version"
4241
}
4342

4443

0 commit comments

Comments
 (0)