From 6515f251a6047a353113ba74327ca3e77903cb25 Mon Sep 17 00:00:00 2001 From: Unpublished Date: Fri, 12 Apr 2019 13:12:33 +0200 Subject: [PATCH] exclude auto-value from apk to fix lint error Signed-off-by: Unpublished --- .circleci/config.yml | 3 +++ News-Android-App/build.gradle | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bcad8b3d..83bceff9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,6 +48,9 @@ jobs: - run: name: Run unit tests command: ./gradlew test + - run: + name: Run Lint Tests + command: ./gradlew lint test - store_artifacts: path: News-Android-App/build/reports destination: reports diff --git a/News-Android-App/build.gradle b/News-Android-App/build.gradle index 9f08d59d..814f4a93 100644 --- a/News-Android-App/build.gradle +++ b/News-Android-App/build.gradle @@ -150,9 +150,6 @@ dependencies { implementation 'com.jakewharton:butterknife:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' - compileOnly 'com.google.auto.value:auto-value:1.1' - annotationProcessor 'com.google.auto.value:auto-value:1.1' - implementation 'com.sothree.slidinguppanel:library:3.2.1' implementation 'org.greenrobot:eventbus:3.1.1' @@ -164,7 +161,10 @@ dependencies { //implementation 'org.apache.commons:commons-lang3:3.4' implementation 'com.github.gabrielemariotti.changeloglib:changelog:2.1.0' implementation 'org.jsoup:jsoup:1.11.3' - implementation ('net.rdrei.android.dirchooser:library:3.0@aar') { transitive = true } + implementation ('net.rdrei.android.dirchooser:library:3.0@aar') { + exclude group: 'com.google.auto.value', module: 'auto-value' + transitive = true + } implementation 'com.google.dagger:dagger:2.16'