From 92b15b505ece33c0a4165ef95b7b09d9d532ada3 Mon Sep 17 00:00:00 2001 From: Gerhard Muth Date: Wed, 6 Sep 2023 18:13:55 +0300 Subject: [PATCH] fix sonar code small --- build.gradle.kts | 6 ++++-- gradle.properties | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2d05dbc0..e56cc27f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,7 +29,9 @@ repositories { // } //} -val slf4jVersion: String by project // -> gradle.properties +// -> gradle.properties +val slf4jVersion: String by project +val androidVersion: String by project dependencies { //implementation(platform("org.jetbrains.kotlin:kotlin-bom")) @@ -42,7 +44,7 @@ dependencies { //"slf4jSupportImplementation"("org.slf4j:slf4j-api:1.7.32") // pom.xml: scope=compile, optional=true compileOnly("org.slf4j:slf4j-api:$slf4jVersion") - compileOnly("com.google.android:android:4.1.1.4") // android.util.Log + compileOnly("com.google.android:android:$androidVersion") // android.util.Log testRuntimeOnly("org.slf4j:slf4j-simple:$slf4jVersion") //testRuntimeOnly("ch.qos.logback:logback-classic:1.2.3") diff --git a/gradle.properties b/gradle.properties index 442cbea5..76ee9d93 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,3 +7,4 @@ org.gradle.jvmargs=-Xmx3g #org.gradle.daemon=false slf4jVersion=1.7.36 +androidVersion=4.1.1.4