diff options
Diffstat (limited to 'taler-kotlin-android/build.gradle')
-rw-r--r-- | taler-kotlin-android/build.gradle | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/taler-kotlin-android/build.gradle b/taler-kotlin-android/build.gradle index bbdcd92..06d1474 100644 --- a/taler-kotlin-android/build.gradle +++ b/taler-kotlin-android/build.gradle @@ -21,13 +21,11 @@ plugins { } android { - compileSdkVersion 32 - buildToolsVersion "$build_tools_version" + namespace 'net.taler.common' + compileSdk 34 defaultConfig { minSdkVersion 21 - targetSdkVersion 32 - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } @@ -46,19 +44,23 @@ android { buildFeatures { viewBinding = true } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = "17" + } packagingOptions { resources { excludes += ['META-INF/*.kotlin_module'] } } - - namespace 'net.taler.common' - } dependencies { - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'androidx.core:core-ktx:1.7.0' + implementation 'androidx.appcompat:appcompat:1.6.1' + implementation 'androidx.core:core-ktx:1.12.0' implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version" // Navigation @@ -72,10 +74,7 @@ dependencies { implementation 'com.google.zxing:core:3.5.0' // needs minSdkVersion 24+ or desugar // JSON parsing and serialization - api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3' - - api 'com.github.thirdegg:lint-rules:0.1.0' - + api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2' testImplementation "junit:junit:$junit_version" testImplementation 'org.json:json:20220320' } |