Downgrade to Java 11 as target (#2799)

This commit is contained in:
Bart Louwers
2024-09-05 22:06:33 +02:00
committed by GitHub
parent bb34568af2
commit 0863dd01b9
5 changed files with 21 additions and 5 deletions

View File

@@ -126,10 +126,15 @@ android {
buildFeatures {
buildConfig true
}
}
kotlin {
jvmToolchain(17)
compileOptions {
sourceCompatibility = 11
targetCompatibility = 11
}
kotlinOptions {
jvmTarget = "11"
}
}
licenseReport {

View File

@@ -1,6 +1,5 @@
[versions]
mapLibreServices = "6.0.1"
maplibreGestures = "0.0.1"
appCompat = "1.7.0"
constraintLayout = "2.1.4"
interpolator = "1.0.0"
@@ -40,7 +39,7 @@ kotlinxCoroutinesCore = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-cor
kotlinxCoroutinesTest = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
kotlinxCoroutinesAndroid = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
maplibreJavaGeoJSON = { group = "org.maplibre.gl", name = "android-sdk-geojson", version.ref = "mapLibreServices" }
maplibreGestures = { group = "org.maplibre.gl", name = "maplibre-android-gestures", version.ref = "maplibreGestures" }
maplibreGestures = { group = "org.maplibre.gl", name = "maplibre-android-gestures", version = "0.0.3" }
maplibreJavaTurf = { group = "org.maplibre.gl", name = "android-sdk-turf", version.ref = "mapLibreServices" }
junit = { group = "junit", name = "junit", version.ref = "junit" }

View File

@@ -1,3 +1,7 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
include ':MapLibreAndroid', ':MapLibreAndroidTestApp', ':MapLibreAndroidLint'
rootProject.name = "MapLibre Native for Android"

View File

@@ -1,3 +1,7 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
rootProject.name = "androidRenderTest"
include ":app"

View File

@@ -1,3 +1,7 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
rootProject.name = "androidCppUnitTests"
include ':app'