summaryrefslogtreecommitdiff
path: root/taler-kotlin-android/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'taler-kotlin-android/build.gradle')
-rw-r--r--taler-kotlin-android/build.gradle44
1 files changed, 17 insertions, 27 deletions
diff --git a/taler-kotlin-android/build.gradle b/taler-kotlin-android/build.gradle
index 7d3d8e4..06d1474 100644
--- a/taler-kotlin-android/build.gradle
+++ b/taler-kotlin-android/build.gradle
@@ -21,16 +21,11 @@ plugins {
}
android {
- compileSdkVersion 30
- //noinspection GradleDependency
- buildToolsVersion "$build_tools_version"
+ namespace 'net.taler.common'
+ compileSdk 34
defaultConfig {
minSdkVersion 21
- targetSdkVersion 30
- versionCode 1
- versionName "0.1"
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
@@ -49,18 +44,23 @@ android {
buildFeatures {
viewBinding = true
}
-
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+ }
+ kotlinOptions {
+ jvmTarget = "17"
+ }
packagingOptions {
- exclude("META-INF/*.kotlin_module")
+ resources {
+ excludes += ['META-INF/*.kotlin_module']
+ }
}
-
}
dependencies {
- api project(":multiplatform:common")
-
- implementation 'androidx.appcompat:appcompat:1.3.1'
- implementation 'androidx.core:core-ktx:1.6.0'
+ implementation 'androidx.appcompat:appcompat:1.6.1'
+ implementation 'androidx.core:core-ktx:1.12.0'
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
// Navigation
@@ -71,20 +71,10 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
// QR codes
- implementation 'com.google.zxing:core:3.4.0' // needs minSdkVersion 24+ or desugar
-
- // Logcat viewer
- implementation('com.github.pedrovgs:lynx:1.1.0') {
- exclude group: 'com.android.support'
- exclude group: 'com.squareup'
- }
- implementation 'com.github.pedrovgs:renderers:4.0.0'
+ 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.2.2"
-
- lintPublish 'com.github.thirdegg:lint-rules:0.0.6-beta'
-
+ api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2'
testImplementation "junit:junit:$junit_version"
- testImplementation 'org.json:json:20200518'
+ testImplementation 'org.json:json:20220320'
}