Files
kotlin-fork/kotlin-native/tools/benchmarksAnalyzer/gradle.properties
T
Svyatoslav Scherbina 096edd8937 Native: enable K2 for benchmarksAnalyzer
benchmarksAnalyzer is built with bootstrap KGP and snapshot compiler.
Currently the former is K1, while the latter is K2. As a result, the
build fails because K2 compiler needs -Xfragment-sources argument,
while K1 uses -Xcommon-sources. So KGP passes the latter, while the
compiler expects the former.

Fix this by forcing KGP to use K2 for benchmarksAnalyzer.
2023-10-03 14:53:58 +00:00

4 lines
133 B
Properties

kotlin.native.home=../../dist
org.gradle.jvmargs=-Xmx2048m
kotlin.experimental.tryK2=true
kotlin.mpp.enableCInteropCommonization=true