From fa7e7fccdc88f3b24f3df34c8c3f61df5d7e7372 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 25 Jan 2021 15:15:26 +0100 Subject: [PATCH] fdroidclient does not use variables for gradle dependencies Using variables makes the lint stuff not work so well. --- app/build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d72191717..7390a9974 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -135,10 +135,6 @@ android { } } -ext { - work_version = '2.4.0' -} - dependencies { implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.preference:preference:1.1.1' @@ -149,7 +145,7 @@ dependencies { implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.palette:palette:1.0.0' - implementation "androidx.work:work-runtime:$work_version" + implementation 'androidx.work:work-runtime:2.4.0' implementation 'com.google.android.material:material:1.1.0' @@ -189,7 +185,7 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0' - androidTestImplementation "androidx.work:work-testing:$work_version" + androidTestImplementation 'androidx.work:work-testing:2.4.0' } checkstyle {