summaryrefslogtreecommitdiff
path: root/build-system/integration-test/test-projects/lintDesugaring/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build-system/integration-test/test-projects/lintDesugaring/app/build.gradle')
-rw-r--r--build-system/integration-test/test-projects/lintDesugaring/app/build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/build-system/integration-test/test-projects/lintDesugaring/app/build.gradle b/build-system/integration-test/test-projects/lintDesugaring/app/build.gradle
index 882fcef6cf..b40c3487bf 100644
--- a/build-system/integration-test/test-projects/lintDesugaring/app/build.gradle
+++ b/build-system/integration-test/test-projects/lintDesugaring/app/build.gradle
@@ -20,13 +20,13 @@ apply plugin: 'kotlin-android'
android {
namespace "com.example.android.lint.kotlin"
- compileSdkVersion rootProject.latestCompileSdk
- buildToolsVersion = rootProject.buildToolsVersion
+ compileSdkVersion libs.versions.latestCompileSdk.get().toInteger()
+ buildToolsVersion = libs.versions.buildToolsVersion.get()
defaultConfig {
minSdkVersion 24
//noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
- targetSdkVersion rootProject.latestCompileSdk
+ targetSdkVersion libs.versions.latestCompileSdk.get()
}
lintOptions {
@@ -49,6 +49,6 @@ android {
dependencies {
implementation project(':library')
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$rootProject.kotlinVersion"
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:${libs.versions.kotlinVersion.get()}"
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
}