File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,14 @@ plugins {
12
12
}
13
13
14
14
kotlin {
15
- listOf (
16
- macosArm64(),
17
- macosX64(),
18
- // linuxArm64() // https://youtrack.jetbrains.com/issue/KT-36871/Support-Aarch64-Linux-as-a-host-for-the-Kotlin-Native
19
- linuxX64(),
20
- ).forEach {
21
- it.compilations.configureEach {
22
- compileTaskProvider.configure {
23
- compilerOptions {
24
- freeCompilerArgs.addAll(listOf (" -Xallocator=std" , " -Xruntime-logs=gc=info" ))
15
+ macosArm64()
16
+ macosX64()
17
+ // linuxArm64() // https://youtrack.jetbrains.com/issue/KT-36871/Support-Aarch64-Linux-as-a-host-for-the-Kotlin-Native
18
+ linuxX64()
25
19
26
- // freeCompilerArgs = freeCompilerArgs + listOf("-Xallocator=std", "-Xruntime-logs=gc=info",)
27
- }
28
- }
29
- }
20
+ @OptIn(ExperimentalKotlinGradlePluginApi ::class )
21
+ compilerOptions {
22
+ freeCompilerArgs.addAll(listOf (" -Xallocator=std" , " -Xruntime-logs=gc=info" ))
30
23
}
31
24
32
25
sourceSets {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ kotlin {
14
14
it.binaries {
15
15
executable {
16
16
entryPoint = " com.github.trueangle.knative.lambda.runtime.sample.main"
17
+ freeCompilerArgs + = listOf (" -Xallocator=std" , " -Xruntime-logs=gc=info" )
17
18
}
18
19
}
19
20
}
You can’t perform that action at this time.
0 commit comments