1- apply plugin : ' com.android.library'
2- apply plugin : ' kotlin-android'
3- apply plugin : ' kotlin-android-extensions'
1+ plugins {
2+ alias libs. plugins. kotlin. android
3+ alias libs. plugins. com. android. library
4+ }
45
56android {
6- compileSdkVersion 33
7+ compileSdk 34
78
89 defaultConfig {
910 minSdkVersion 21
10- targetSdkVersion 33
11+ targetSdkVersion 34
1112 }
1213
1314 flavorDimensions " loggerMode"
@@ -24,25 +25,25 @@ android {
2425 lintConfig file(' lint-custom.xml' )
2526 }
2627 compileOptions {
27- sourceCompatibility JavaVersion . VERSION_11
28- targetCompatibility JavaVersion . VERSION_11
28+ sourceCompatibility JavaVersion . VERSION_17
29+ targetCompatibility JavaVersion . VERSION_17
2930 }
3031 kotlinOptions {
31- jvmTarget = ' 11 '
32+ jvmTarget = ' 17 '
3233 }
3334 namespace ' com.telefonica.androidlogger'
3435}
3536
3637dependencies {
3738 // noinspection GradleDependency
38- implementation " org.jetbrains.kotlin:kotlin-stdlib: $k otlin_version "
39- implementation " androidx.annotation:annotation:1.1.0 "
40- enabledImplementation " com.google.android.material:material: $s upport_version "
41- enabledImplementation " androidx.lifecycle:lifecycle-extensions:2.2.0 "
42- enabledImplementation " com .elvishew:xlog:1.11.0 "
43- enabledImplementation " com.squareup.okio:okio:2.7.0 "
39+ implementation libs . org. jetbrains. kotlin
40+ implementation libs . androidx. annotation
41+ enabledImplementation libs . com. google. android. material
42+ enabledImplementation libs . androidx. lifecycle. extensions
43+ enabledImplementation libs . elvishew. xlog
44+ enabledImplementation libs . com. squareup. okio
4445
45- testImplementation ' junit:junit:4.13 '
46+ testImplementation libs . junit
4647}
4748
4849apply from : " ${ rootProject.projectDir} /mavencentral.gradle"
0 commit comments