Skip to content

Commit

Permalink
Configure targets compiler options in Targets.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Mar 10, 2024
1 parent 3d90b89 commit 7a1f87a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions buildSrc/src/main/kotlin/Targets.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,10 @@ fun KotlinMultiplatformExtension.targets() {
tvosX64()
tvosArm64()
tvosSimulatorArm64()

targets.all {
compilations.all {
compilerOptions.options.applyKordCompilerOptions()
}
}
}
6 changes: 0 additions & 6 deletions buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ kotlin {
explicitApi()
jvmToolchain(Jvm.target)

targets.all {
compilations.all {
compilerOptions.options.applyKordCompilerOptions()
}
}

sourceSets {
all {
applyKordOptIns()
Expand Down

0 comments on commit 7a1f87a

Please sign in to comment.