Bump Kotlin extension to version 1.1.0-SNAPSHOT

This commit is contained in:
Erik C. Thauvin 2025-03-21 23:36:28 -07:00
parent 5f1eb63c4f
commit 4b7f41660f
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 7 additions and 6 deletions

View file

@ -4,7 +4,7 @@ bld.downloadLocation=
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.9
bld.extension-gv=com.uwyn.rife2:bld-generated-version:1.0.0
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.9
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.4
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.1.0-SNAPSHOT
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.sourceDirectories=
bld.version=2.2.1

View file

@ -39,6 +39,7 @@ import rife.bld.extension.DetektOperation;
import rife.bld.extension.GeneratedVersionOperation;
import rife.bld.extension.JacocoReportOperation;
import rife.bld.extension.kotlin.CompileOptions;
import rife.bld.extension.kotlin.JvmOptions;
import rife.bld.operations.exceptions.ExitStatusException;
import rife.bld.publish.PomBuilder;
import rife.tools.FileUtils;
@ -154,12 +155,12 @@ public class MobibotBuild extends Project {
@Override
public void compile() throws Exception {
releaseInfo();
var options = new CompileOptions().verbose(true).jvmOptions("--enable-native-access=ALL-UNNAMED");
var op = new CompileKotlinOperation()
.kotlinHome("/opt/kotlinc/")
var options = new CompileOptions().verbose(true);
options.jvmOptions().enableNativeAccess(JvmOptions.ALL_UNNAMED);
new CompileKotlinOperation()
.compileOptions(options)
.fromProject(this);
op.execute();
.fromProject(this)
.execute();
}
@Override