File tree Expand file tree Collapse file tree 12 files changed +28
-16
lines changed
androidTest/java/com/efraespada/stringcarelibrary
java/com/efraespada/stringcarelibrary
test/java/com/efraespada/stringcarelibrary Expand file tree Collapse file tree 12 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 1
- repo under construction, sorry
2
-
3
- Android String Obfuscator
1
+ String Care Android Library
4
2
=========================
5
3
6
4
Hide strings easily with that lib and plugin! It uses AES/ECB/PKCS5Padding transformation to convert strings with your app's SHA1 fingerprint.
@@ -11,7 +9,7 @@ Gradle implementation
11
9
``` groovy
12
10
// root_project/build.gradle
13
11
14
- apply plugin: com.efraespada. stringcare.StringCarePlugin
12
+ apply plugin: com.stringcare.SCPlugin
15
13
16
14
buildscript {
17
15
@@ -24,7 +22,7 @@ buildscript {
24
22
}
25
23
26
24
dependencies {
27
- classpath "com.efraespada: stringcare:androidplugin :$stringcare_version"
25
+ classpath "com.stringcare:plugin :$stringcare_version"
28
26
}
29
27
30
28
}
@@ -38,7 +36,7 @@ repositories {
38
36
}
39
37
40
38
dependencies {
41
- implementation "com.efraespada: stringcare:androidlibrary :$stringcare_version"
39
+ implementation "com.stringcare:library :$stringcare_version"
42
40
}
43
41
```
44
42
@@ -108,7 +106,7 @@ Configuration
108
106
By default the plugin will encrypt every ` strings.xml ` file inside ` src/main ` folder but you can choose a different configuration.
109
107
``` groovy
110
108
// root_folder/build.gradle
111
- apply plugin: com.efraespada.stringobfuscatorplugin.StringObfuscatorPlugin
109
+ apply plugin: com.stringcare.SCPlugin
112
110
113
111
stringcare {
114
112
Original file line number Diff line number Diff line change 1
1
2
- apply plugin : com.efraespada. stringcare.StringCarePlugin
2
+ apply plugin : com.stringcare.SCPlugin
3
3
4
4
buildscript {
5
5
6
6
ext {
7
- aso_sop_version = ' 0.4 .1'
7
+ stringcare_version = ' 0.1'
8
8
}
9
9
10
10
repositories {
@@ -17,8 +17,9 @@ buildscript {
17
17
}
18
18
19
19
dependencies {
20
- classpath files(' ../AndroidPlugin/build/libs/stringcareplugin -0.1.jar' )
20
+ classpath files(' ../AndroidPlugin/build/libs/plugin -0.1.jar' )
21
21
// classpath "com.efraespada:stringobfuscatorplugin:$aso_sop_version"
22
+ // classpath "com.stringcare:plugin:$stringcare_version"
22
23
classpath ' com.android.tools.build:gradle:3.0.1'
23
24
classpath " com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1"
24
25
classpath ' com.github.dcendents:android-maven-gradle-plugin:1.5'
@@ -35,4 +36,16 @@ allprojects {
35
36
36
37
task clean (type : Delete ) {
37
38
delete rootProject. buildDir
39
+ }
40
+
41
+ stringcare {
42
+
43
+ modules {
44
+
45
+ sample {
46
+ stringFiles = [' strings.xml' ," other_file.xml" ]
47
+ srcFolders = [' src/main' , " other_folder" ]
48
+ }
49
+
50
+ }
38
51
}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ dependencies {
38
38
testCompile ' junit:junit:4.12'
39
39
}
40
40
41
- def siteUrl = ' https://github.com/efraespada/SC'
42
- def gitUrl = ' https://github.com/efraespada/SC.git'
43
- group = " com.efraespada"
41
+ def siteUrl = ' https://github.com/StringCare/AndroidLibrary'
42
+ def gitUrl = ' https://github.com/StringCare/AndroidLibrary.git'
44
43
44
+ group = " com.stringcare"
45
45
46
46
install {
47
47
repositories. mavenInstaller {
@@ -103,7 +103,7 @@ bintray {
103
103
configurations = [' archives' ]
104
104
pkg {
105
105
repo = " maven"
106
- name = " stringcare:library "
106
+ name = " StringCareAndroidLibrary "
107
107
websiteUrl = siteUrl
108
108
vcsUrl = gitUrl
109
109
licenses = [" Apache-2.0" ]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ dependencies {
36
36
})
37
37
implementation ' com.android.support:appcompat-v7:26.1.0'
38
38
testImplementation ' junit:junit:4.12'
39
- implementation project(path : ' :stringcarelibrary ' )
39
+ implementation project(path : ' :library ' )
40
40
// implementation "efraespada:androidstringobfuscator:$aso_sop_version"
41
+ // implementation "com.stringcare:library:$stringcare_version"
41
42
}
42
43
43
44
Original file line number Diff line number Diff line change 1
- include ' :sample' , ' :stringcarelibrary '
1
+ include ' :sample' , ' :library '
You can’t perform that action at this time.
0 commit comments