Skip to content

Commit

Permalink
Update Kotlin to 1.9.20 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt authored Nov 4, 2023
1 parent f04bde2 commit 1e01ebe
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
linux-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
macos-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -59,7 +59,7 @@ jobs:
windows-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -72,7 +72,7 @@ jobs:
needs: [ linux-tests, macos-tests, windows-tests ]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
linux-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -37,7 +37,7 @@ jobs:
macos-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand All @@ -53,7 +53,7 @@ jobs:
windows-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
import java.io.ByteArrayOutputStream
import java.net.URL

plugins {
kotlin("multiplatform").version(libs.versions.kotlin).apply(false)
Expand Down
31 changes: 6 additions & 25 deletions colormath/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,17 @@ kotlin {
mingwX64()
macosX64()
macosArm64()

ios()
iosX64()
iosArm64()
iosSimulatorArm64()
tvos()
tvosX64()
tvosArm64()
tvosSimulatorArm64()
watchos()
watchosX64()
watchosArm64()
watchosSimulatorArm64()

sourceSets {
val commonMain by getting

val nativeMain by creating {
dependsOn(commonMain)
}

listOf(
"macosX64",
"macosArm64",
"linuxX64",
"mingwX64",
"ios",
"iosSimulatorArm64",
"tvos",
"tvosSimulatorArm64",
"watchos",
"watchosSimulatorArm64"
).forEach { target ->
getByName(target + "Main").dependsOn(nativeMain)
}

val commonTest by getting {
dependencies {
implementation(kotlin("test"))
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "1.9.10"
jbCompose = "1.5.1"
kotlin = "1.9.20"
jbCompose = "1.5.10"

[libraries]
# used in tests
Expand All @@ -11,7 +11,7 @@ junit = "junit:junit:4.13.2"
robolectric = "org.robolectric:robolectric:4.10"

[plugins]
dokka = "org.jetbrains.dokka:1.9.0"
dokka = "org.jetbrains.dokka:1.9.10"
publish = "com.vanniktech.maven.publish:0.25.3"
# used in extensions
android-library = "com.android.library:7.4.0"
Expand Down

0 comments on commit 1e01ebe

Please sign in to comment.