fdroidclient does not use variables for gradle dependencies

Using variables makes the lint stuff not work so well.
This commit is contained in:
Hans-Christoph Steiner 2021-01-25 15:15:26 +01:00
parent ab8e7935b0
commit fa7e7fccdc

View File

@ -135,10 +135,6 @@ android {
} }
} }
ext {
work_version = '2.4.0'
}
dependencies { dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.preference:preference:1.1.1' implementation 'androidx.preference:preference:1.1.1'
@ -149,7 +145,7 @@ dependencies {
implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.palette:palette:1.0.0' 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' 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.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.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 { checkstyle {