gradle: Fixes kotlin jvm version compile errors

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2337>
This commit is contained in:
korejan 2024-10-13 18:30:04 +01:00
parent 8992376e6a
commit 545aced3f4
4 changed files with 12 additions and 0 deletions

View file

@ -29,6 +29,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
packagingOptions {
resources {
excludes += ['META-INF/*.kotlin_module']

View file

@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
packagingOptions {
resources {
excludes += ['META-INF/*.kotlin_module']

View file

@ -53,6 +53,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
packagingOptions {
resources {
excludes += ['META-INF/*.kotlin_module']

View file

@ -243,6 +243,9 @@ android {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
packagingOptions {
resources {
excludes += ['META-INF/*.kotlin_module']