Skip to content

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaksymenko committed Nov 21, 2024
1 parent 0a96138 commit 3b14f1b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 43 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repositories {
}
dependencies {
implementation 'earth.worldwind:worldwind:1.5.27'
implementation 'earth.worldwind:worldwind:1.6.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down
8 changes: 3 additions & 5 deletions worldwind-examples-android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@file:Suppress("UnstableApiUsage")

plugins {
kotlin("android")
id("com.android.application")
Expand Down Expand Up @@ -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")
}
16 changes: 5 additions & 11 deletions worldwind-tutorials/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@file:Suppress("UnstableApiUsage")

plugins {
kotlin("multiplatform")
id("com.android.application")
Expand Down Expand Up @@ -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")
}
}
Expand Down Expand Up @@ -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")
}
46 changes: 23 additions & 23 deletions worldwind/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@file:Suppress("UnstableApiUsage")

plugins {
kotlin("multiplatform")
kotlin("plugin.serialization")
Expand Down Expand Up @@ -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")
Expand All @@ -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")

Expand All @@ -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")
Expand Down Expand Up @@ -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"
)
)
}
}
Expand Down

0 comments on commit 3b14f1b

Please sign in to comment.