Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K/M: Enable tvOS and watchOS targets #12

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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