Add JavaVersion compatible to icon-pack

This now also contains Kotlin code.
This commit is contained in:
Marijn Suijten 2023-06-22 01:11:06 +02:00
parent 6fc26ef6e6
commit b6d32999b9
3 changed files with 18 additions and 5 deletions

View file

@ -23,7 +23,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "src/main/jni/CMakeLists.txt"
@ -31,11 +31,12 @@ android {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = "1.8"
}
}

View file

@ -20,13 +20,16 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = "1.8"
}
testOptions {
unitTests {
includeAndroidResources = true

View file

@ -10,6 +10,15 @@ android {
minSdkVersion 14
targetSdkVersion 33
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {