From 3b14f1bfb42d27a5b86cd97782d96c747307eb5e Mon Sep 17 00:00:00 2001 From: Eugene Maksymenko Date: Thu, 21 Nov 2024 20:35:24 +0200 Subject: [PATCH] Release 1.6.0 --- README.md | 2 +- build.gradle.kts | 6 +-- worldwind-examples-android/build.gradle.kts | 8 ++-- worldwind-tutorials/build.gradle.kts | 16 +++---- worldwind/build.gradle.kts | 46 ++++++++++----------- 5 files changed, 35 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 5484fc028..4c2696342 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ repositories { } dependencies { - implementation 'earth.worldwind:worldwind:1.5.27' + implementation 'earth.worldwind:worldwind:1.6.0' } ``` diff --git a/build.gradle.kts b/build.gradle.kts index e78dc2a2b..dfc1714db 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - val kotlinVersion = "1.9.24" + val kotlinVersion = "2.0.21" kotlin("multiplatform") version kotlinVersion apply false kotlin("plugin.serialization") version kotlinVersion apply false kotlin("android") version kotlinVersion apply false @@ -10,13 +10,13 @@ plugins { buildscript { dependencies { - classpath("dev.icerock.moko:resources-generator:0.24.2") + classpath("dev.icerock.moko:resources-generator:0.24.3") } } allprojects { group = "earth.worldwind" - version = "1.5.27" + version = "1.6.0" extra.apply { set("minSdk", 21) diff --git a/worldwind-examples-android/build.gradle.kts b/worldwind-examples-android/build.gradle.kts index 2dcd36302..5556dcc52 100644 --- a/worldwind-examples-android/build.gradle.kts +++ b/worldwind-examples-android/build.gradle.kts @@ -1,5 +1,3 @@ -@file:Suppress("UnstableApiUsage") - plugins { kotlin("android") id("com.android.application") @@ -38,10 +36,10 @@ android { dependencies { implementation(project(":worldwind")) implementation("androidx.appcompat:appcompat:1.7.0") - implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1") + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0") implementation("com.google.android.material:material:1.12.0") implementation("io.github.missioncommand:mil-sym-android-renderer:0.1.60") - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.2") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.3") } \ No newline at end of file diff --git a/worldwind-tutorials/build.gradle.kts b/worldwind-tutorials/build.gradle.kts index 63aaf983e..029ec9519 100644 --- a/worldwind-tutorials/build.gradle.kts +++ b/worldwind-tutorials/build.gradle.kts @@ -1,5 +1,3 @@ -@file:Suppress("UnstableApiUsage") - plugins { kotlin("multiplatform") id("com.android.application") @@ -27,20 +25,16 @@ kotlin { } } sourceSets { - val commonMain by getting { + commonMain { dependencies { implementation(project(":worldwind")) } } - val jsMain by getting { - dependsOn(commonMain) - } - val androidMain by getting { - dependsOn(commonMain) + androidMain{ dependencies { implementation("androidx.appcompat:appcompat:1.7.0") - implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1") + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0") implementation("com.google.android.material:material:1.12.0") } } @@ -83,5 +77,5 @@ android { } dependencies { - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.2") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.3") } \ No newline at end of file diff --git a/worldwind/build.gradle.kts b/worldwind/build.gradle.kts index 29b5358bf..ec49169a9 100644 --- a/worldwind/build.gradle.kts +++ b/worldwind/build.gradle.kts @@ -1,5 +1,3 @@ -@file:Suppress("UnstableApiUsage") - plugins { kotlin("multiplatform") kotlin("plugin.serialization") @@ -39,17 +37,17 @@ kotlin { } } sourceSets { - val mockkVersion = "1.13.10" - val mokoVersion = "0.24.2" - val ktorVersion = "2.3.10" + val mockkVersion = "1.13.13" + val mokoVersion = "0.24.3" + val ktorVersion = "2.3.12" val ormliteVersion = "6.1" val commonMain by getting { dependencies { api("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1") - api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1") - implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3") + api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") implementation("io.ktor:ktor-client-core:$ktorVersion") - implementation("io.github.pdvrieze.xmlutil:serialization:0.86.3") + implementation("io.github.pdvrieze.xmlutil:serialization:0.90.3") implementation("com.eygraber:uri-kmp:0.0.18") implementation("ar.com.hjg:pngj:2.1.0") implementation("mil.nga:tiff:3.0.0") @@ -76,10 +74,10 @@ kotlin { implementation("io.mockk:mockk-jvm:$mockkVersion") } } - val jvmMain by getting { + jvmMain { dependsOn(jvmCommonMain) dependencies { - val joglVersion = "2.3.2" + val joglVersion = "2.5.0" implementation("org.jogamp.gluegen:gluegen-rt:$joglVersion") implementation("org.jogamp.jogl:jogl-all:$joglVersion") @@ -95,34 +93,34 @@ kotlin { implementation("com.j256.ormlite:ormlite-jdbc:$ormliteVersion") } } - val jvmTest by getting { + jvmTest { dependsOn(jvmCommonTest) } - val jsMain by getting { + jsMain { dependsOn(commonMain) dependencies { implementation("io.ktor:ktor-client-js:$ktorVersion") } } - val jsTest by getting { + jsTest { dependsOn(commonTest) dependencies { implementation(kotlin("test-js")) } } - val androidMain by getting { + androidMain { dependsOn(jvmCommonMain) dependencies { - implementation("androidx.annotation:annotation:1.8.2") + implementation("androidx.annotation:annotation:1.9.1") implementation("androidx.appcompat:appcompat-resources:1.7.0") implementation("io.github.missioncommand:mil-sym-android-renderer:0.1.60") implementation("com.j256.ormlite:ormlite-android:$ormliteVersion") } } - val androidUnitTest by getting { + androidUnitTest { dependsOn(jvmCommonTest) } - val androidInstrumentedTest by getting { + androidInstrumentedTest { dependencies { implementation(kotlin("test-junit")) implementation("io.mockk:mockk-android:$mockkVersion") @@ -167,17 +165,19 @@ android { } dependencies { - coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.2") + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.3") } // Do not generate Intrinsics runtime assertion for performance reasons tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) .all { - kotlinOptions { - freeCompilerArgs = freeCompilerArgs + listOf( - "-Xno-call-assertions", - "-Xno-receiver-assertions", - "-Xno-param-assertions" + compilerOptions { + freeCompilerArgs.addAll( + listOf( + "-Xno-call-assertions", + "-Xno-receiver-assertions", + "-Xno-param-assertions" + ) ) } }