Skip to content

Commit 9cb76e4

Browse files
committed
plugin with default package
1 parent fb208ac commit 9cb76e4

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ Gradle implementation
88

99
```groovy
1010
// root_project/build.gradle
11-
12-
apply plugin: com.stringcare.SCPlugin
13-
11+
1412
buildscript {
1513
1614
ext {
@@ -26,6 +24,8 @@ buildscript {
2624
}
2725
2826
}
27+
28+
apply plugin: StringCare
2929
```
3030

3131
```groovy
@@ -106,7 +106,8 @@ Configuration
106106
By default the plugin will encrypt every `strings.xml` file inside `src/main`folder but you can choose a different configuration.
107107
```groovy
108108
// root_folder/build.gradle
109-
apply plugin: com.stringcare.SCPlugin
109+
110+
apply plugin: StringCare
110111
111112
stringcare {
112113

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
apply plugin: com.stringcare.SCPlugin
3-
42
buildscript {
53

64
ext {
@@ -17,7 +15,9 @@ buildscript {
1715
}
1816

1917
dependencies {
20-
classpath files('../AndroidPlugin/build/libs/plugin-0.1.jar')
18+
//classpath files('../AndroidPlugin/build/libs/plugin-0.1.jar')
19+
classpath files('../AndroidPlugin/build/libs/AndroidPlugin-0.2.jar')
20+
2121
// classpath "com.efraespada:stringobfuscatorplugin:$aso_sop_version"
2222
// classpath "com.stringcare:plugin:$stringcare_version"
2323
classpath 'com.android.tools.build:gradle:3.0.1'
@@ -38,6 +38,9 @@ task clean(type: Delete) {
3838
delete rootProject.buildDir
3939
}
4040

41+
apply plugin: StringCare
42+
43+
4144
stringcare {
4245

4346
modules {

0 commit comments

Comments
 (0)