Skip to content

Commit

Permalink
Bring list of supported Native platforms up-to-date (#74)
Browse files Browse the repository at this point in the history
* Bring list of supported Native platforms up-to-date
* Update versions
  • Loading branch information
serras authored Jul 20, 2023
1 parent 9e150c2 commit e7ee73a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,65 +38,73 @@ if (isKotlinMultiplatform) {
nodejs()
}

// Native: https://kotlinlang.org/docs/native-target-support.html
// -- Tier 1 --
linuxX64()
linuxArm64()

mingwX64()

iosArm32()
iosArm64()
macosX64()
macosArm64()
iosSimulatorArm64()
iosX64()
macosArm64()
macosX64()
tvosArm64()
tvosSimulatorArm64()
tvosX64()
watchosArm32()
watchosArm64()
// -- Tier 2 --
linuxArm64()
watchosSimulatorArm64()
watchosX64()
watchosX86()
watchosArm32()
watchosArm64()
tvosSimulatorArm64()
tvosX64()
tvosArm64()
iosArm64()
// -- Tier 3 --
mingwX64()
// Android and watchOS not included
// -- Deprecated as of 1.8.20 --
// iosArm32() // deprecated as of 1.8.20
// watchosX86()

sourceSets {
val commonMain by getting
val mingwX64Main by getting

// Native
// -- Tier 1 --
val linuxX64Main by getting
val linuxArm64Main by getting
val iosArm32Main by getting
val iosArm64Main by getting
val macosX64Main by getting
val macosArm64Main by getting
val iosSimulatorArm64Main by getting
val iosX64Main by getting
val macosArm64Main by getting
val macosX64Main by getting
val tvosArm64Main by getting
val tvosSimulatorArm64Main by getting
val tvosX64Main by getting
val watchosArm32Main by getting
val watchosArm64Main by getting
// -- Tier 2 --
val linuxArm64Main by getting
val watchosSimulatorArm64Main by getting
val watchosX64Main by getting
val watchosX86Main by getting
val watchosArm32Main by getting
val watchosArm64Main by getting
val tvosSimulatorArm64Main by getting
val tvosX64Main by getting
val tvosArm64Main by getting
val iosArm64Main by getting
// -- Tier 3 --
val mingwX64Main by getting

create("nativeMain") {
dependsOn(commonMain)
mingwX64Main.dependsOn(this)
// -- Tier 1 --
linuxX64Main.dependsOn(this)
linuxArm64Main.dependsOn(this)
iosArm32Main.dependsOn(this)
iosArm64Main.dependsOn(this)
macosX64Main.dependsOn(this)
macosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
iosX64Main.dependsOn(this)
macosArm64Main.dependsOn(this)
macosX64Main.dependsOn(this)
tvosArm64Main.dependsOn(this)
tvosSimulatorArm64Main.dependsOn(this)
tvosX64Main.dependsOn(this)
watchosArm32Main.dependsOn(this)
watchosArm64Main.dependsOn(this)
// -- Tier 2 --
linuxArm64Main.dependsOn(this)
watchosSimulatorArm64Main.dependsOn(this)
watchosX64Main.dependsOn(this)
watchosX86Main.dependsOn(this)
watchosArm32Main.dependsOn(this)
watchosArm64Main.dependsOn(this)
tvosSimulatorArm64Main.dependsOn(this)
tvosX64Main.dependsOn(this)
tvosArm64Main.dependsOn(this)
iosArm64Main.dependsOn(this)
// -- Tier 3 --
mingwX64Main.dependsOn(this)
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[versions]
android = "7.4.1"
arrow = "1.1.5"
arrow = "1.2.0"
arrowGradleConfig = "0.11.0"
coroutines = "1.6.4"
dokka = "1.8.10"
coroutines = "1.7.2"
dokka = "1.8.20"
gradlePublish = "0.21.0"
javierscSemverGradlePlugin = "0.5.0-alpha.2"
kotlin = "1.8.10"
javierscSemverGradlePlugin = "0.5.0-rc.1"
kotlin = "1.8.22"
nexusPublish = "1.3.0"
spotless = "6.17.0"
spotless = "6.20.0"

[libraries]
android = { module = "com.android.tools.build:gradle", version.ref = "android" }
Expand Down

0 comments on commit e7ee73a

Please sign in to comment.