Skip to content

Commit

Permalink
fix(build): remove deprecated targets
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Jun 29, 2023
1 parent 94a7b44 commit f2c0809
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Publish Windows artifacts
uses: gradle/gradle-build-action@40b6781dcdec2762ad36556682ac74e31030cfe2 # v2.5.1
with:
arguments: publishMingwX64PublicationToSonatypeRepository publishMingwX86PublicationToSonatypeRepository -PenableNativeTargets
arguments: publishMingwX64PublicationToSonatypeRepository -PenableNativeTargets
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.NEXUS_PUBLISH_GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.NEXUS_PUBLISH_GPG_KEY_PASSWORD }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

- Remove deprecated Kotlin/Native targets. See [kotl.in/native-targets-tiers](https://kotl.in/native-targets-tiers).

## [2.3.2] - 2023-04-18

- Upgrade to Kotlin 1.8.20
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ It is available as a Kotlin Multiplatform library for the following platforms
- Browsers (JavaScript)
- Linux x64
- MingW x64
- MingW x86
- iOS arm32
- iOS arm64
- iOS x64
- tvOS arm64
Expand Down
11 changes: 1 addition & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,14 @@ kotlin {
js(IR) {
nodejs {}
browser {}
compilations.all {
kotlinOptions {
moduleKind = "umd"
sourceMap = true
sourceMapEmbedSources = null
}
}
compilations.configureEach { kotlinOptions { moduleKind = "umd" } }
}
if (providers.gradleProperty("enableNativeTargets").isPresent) {
if (HostManager.hostIsMac) {
iosX64()
iosArm32()
iosArm64()
tvosX64()
tvosArm64()
watchosX86()
watchosX64()
watchosArm32()
watchosArm64()
Expand All @@ -90,7 +82,6 @@ kotlin {
tvosSimulatorArm64()
}
if (HostManager.hostIsMingw) {
mingwX86()
mingwX64()
}
if (HostManager.hostIsLinux) {
Expand Down

0 comments on commit f2c0809

Please sign in to comment.