diff --git a/app/build.gradle b/app/build.gradle index 0e9a585acc..48f6c0fa5b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,6 @@ +plugins { + id "tech.harmonysoft.oss.traute" version '1.0.5' +} apply plugin: 'com.android.application' File signPropertiesFile = rootProject.file('sign/keystore.properties') @@ -46,6 +49,9 @@ android { } } +traute { + javacPluginVersion = trauteVersion +} dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') diff --git a/build.gradle b/build.gradle index d61c4f95a2..26d7c1c64b 100644 --- a/build.gradle +++ b/build.gradle @@ -42,6 +42,8 @@ ext { junit_version = '4.12' robolectric_version = '3.1.2' + + trauteVersion = '1.0.10' } diff --git a/subutil/build.gradle b/subutil/build.gradle index 1334f30d7d..01c1e8aa42 100644 --- a/subutil/build.gradle +++ b/subutil/build.gradle @@ -1,3 +1,6 @@ +plugins { + id "tech.harmonysoft.oss.traute" version '1.0.5' +} apply plugin: 'com.android.library' apply plugin: 'jacoco' @@ -50,6 +53,10 @@ android { } } +traute { + javacPluginVersion = trauteVersion +} + dependencies { compileOnly "com.android.support:appcompat-v7:$support_version" compileOnly "com.android.support:design:$support_version" diff --git a/utilcode/build.gradle b/utilcode/build.gradle index 591a798cb3..1d417a429a 100644 --- a/utilcode/build.gradle +++ b/utilcode/build.gradle @@ -1,3 +1,6 @@ +plugins { + id "tech.harmonysoft.oss.traute" version '1.0.5' +} apply plugin: 'com.android.library' apply plugin: 'jacoco' @@ -49,6 +52,10 @@ android { } } +traute { + javacPluginVersion = trauteVersion +} + dependencies { compileOnly "com.android.support:appcompat-v7:$support_version" compileOnly "com.android.support:design:$support_version"