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..bb570e8 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' @@ -39,22 +39,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