Skip to content
Merged
Changes from 1 commit
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
41 changes: 24 additions & 17 deletions annotations/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,30 @@ kotlin {
// Tiers are in accordance with <https://kotlinlang.org/docs/native-target-support.html>
// Tier 1
// iOS
iosArm64()
iosX64()
iosSimulatorArm64()
// macOs
macosX64()
macosArm64()
// Tier 2
// watchOS
watchosArm32()
watchosArm64()
watchosX64()
watchosSimulatorArm64()
// tvOS
tvosArm64()
tvosX64()
tvosSimulatorArm64()
List.of(
Comment on lines 73 to +76
iosArm64(),
iosX64(),
iosSimulatorArm64(),
// macOs
macosX64(),
macosArm64(),
// Tier 2
// watchOS
watchosArm32(),
watchosArm64(),
watchosX64(),
watchosSimulatorArm64(),
// tvOS
tvosArm64(),
tvosX64(),
tvosSimulatorArm64(),
watchosDeviceArm64() // from tier 3
).forEach { iosTarget ->
iosTarget.binaries.framework {
Comment thread
Copilot marked this conversation as resolved.
Resolved
baseName = "ktorgen-annotations"
isStatic = true
}
}
// linux
linuxX64()
linuxArm64()
Expand All @@ -99,7 +107,6 @@ kotlin {
androidNativeX64()
// windows
mingwX64()
watchosDeviceArm64()

dependencies {
implementation(libs.jetbrains.annotations)
Expand Down
Loading