Skip to content

Commit

Permalink
Update targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ephemient committed Dec 2, 2023
1 parent c568a7d commit b180e53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Run [kotlinx.benchmark](https://github.com/Kotlin/kotlinx-benchmark) ([JMH](http
Print solutions for the inputs provided in local data files:

```sh
./gradlew :aoc2023-exe:jvmRun :aoc2023-exe:run{Debug,Release}Executable{LinuxX64,Macos{X64,Arm64},MingwX64}
./gradlew :aoc2023-exe:jvmRun :aoc2023-exe:run{Debug,Release}Executable{LinuxX64,Macos{X64,Arm64}}
```

Run all checks, including [Detekt](https://detekt.github.io/) static code analysis and [ktlint](https://ktlint.github.io/) formatter:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ class KotlinMultiplatformJvmPlatformPlugin : Plugin<Project> {
target.apply<KotlinMultiplatformBasePlugin>()
target.pluginManager.withPlugin("org.jetbrains.kotlin.multiplatform") {
val kotlin: KotlinMultiplatformExtension by target.extensions
kotlin.jvm()
kotlin.jvm {
compilations.all {
compilerOptions.configure {
freeCompilerArgs.add("-Xassertions=jvm")
}
}
}
}
}
}
Expand Down

0 comments on commit b180e53

Please sign in to comment.