From 1aab976ecb05d8a9f8d5cfd6caf61c897475a184 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Fri, 3 Jan 2020 18:50:11 +0100 Subject: [PATCH 1/2] v4.0.0 --- app/build.gradle | 8 ++++++++ build.gradle | 27 ++------------------------- library/build.gradle | 2 +- 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index af19b16..8f2406b 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,14 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' +apply plugin: StringCare + +stringcare { + debug true + assetsFiles = ["*.json"] + stringFiles = ['strings.xml'] + srcFolders = ['src/main'] +} android { signingConfigs { diff --git a/build.gradle b/build.gradle index aaf338a..73273b6 100755 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { ext.kotlin_version = '1.3.50' ext { - stringcare_version = '3.6.3' + stringcare_version = '4.0.0' } repositories { @@ -17,7 +17,7 @@ buildscript { dependencies { classpath "com.stringcare:plugin:$stringcare_version" - // classpath files('../KotlinGradlePlugin/build/libs/plugin-3.5.jar') + // classpath files('../KotlinGradlePlugin/build/libs/plugin-4.0.0.jar') classpath 'com.android.tools.build:gradle:3.5.3' classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1" classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' @@ -35,26 +35,3 @@ allprojects { } } } - -task clean(type: Delete) { - delete rootProject.buildDir -} - -apply plugin: StringCare - -stringcare { - debug true - modules { - app { - assetsFiles = ["*.json"] - } - } - variants { - prod { - applicationId = "com.efraespada.stringobfuscator" - } - devDebug { - applicationId = "com.efraespada.otherobfuscator" - } - } -} \ No newline at end of file diff --git a/library/build.gradle b/library/build.gradle index cd16b43..34f3888 100755 --- a/library/build.gradle +++ b/library/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions' apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' -version = "3.6.3" +version = "4.0.0" android { compileSdkVersion 28 From 777d916dc4cd737bebd0e4a09dbf4d622111d544 Mon Sep 17 00:00:00 2001 From: Efra Espada Date: Fri, 3 Jan 2020 18:51:04 +0100 Subject: [PATCH 2/2] ... --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 73273b6..bb570e8 100755 --- a/build.gradle +++ b/build.gradle @@ -35,3 +35,7 @@ allprojects { } } } + +task clean(type: Delete) { + delete rootProject.buildDir +}