Skip to content

Commit

Permalink
K/M: Enable tvOS and watchOS targets
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Sep 14, 2023
1 parent cac3c7b commit 5f49b6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.7] - 2023-09-07
### Changed
- Android: Compile with API level 33 / Android 13
- Apple: Add targets for `tvOS` and `watchOS` and `macOS` x64 builds
- Dependency update:
- [Android Gradle Plugin 8.1.0-rc01](https://developer.android.com/studio/releases/gradle-plugin#7-2-0)
- [Gradle-7.5.1](https://docs.gradle.org/7.5.1/release-notes.html)
Expand Down
9 changes: 3 additions & 6 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@ kotlin {
jvm { testRuns["test"].executionTask.configure { useJUnitPlatform() } }
linuxX64()
macosArm64()
macosX64()
mingwX64() // Win-what ?!?
// tvos()
// watchos()
tvos()
watchos()

sourceSets["commonTest"].dependencies {
implementation(kotlin("test"))
}
sourceSets["iosSimulatorArm64Main"].dependsOn(sourceSets["iosMain"])
sourceSets["iosSimulatorArm64Test"].dependsOn(sourceSets["iosTest"])

targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithSimulatorTests::class.java) {
testRuns["test"].deviceId = "iPhone 14"
}
}

java {
Expand Down

0 comments on commit 5f49b6d

Please sign in to comment.