Updated extensions

Bump Detekt to version 0.9.10-SNAPSHOT
Bump Dokka to version 1.0.4-SNAPSHOT
Bump Kotlin to version 1.1.0-SNAPSHOT
This commit is contained in:
Erik C. Thauvin 2025-03-24 21:37:49 -07:00
parent e048cab640
commit 8b7cbda892
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 4 additions and 6 deletions

View file

@ -4,9 +4,9 @@ bld.downloadLocation=
bld.extensions=
bld.javaOptions=
bld.javacOptions=
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.9
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.3
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.4
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.10-SNAPSHOT
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.4-SNAPSHOT
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.1.0-SNAPSHOT
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_RELEASES,RIFE2_SNAPSHOTS
bld.sourceDirectories=
bld.version=2.2.1

View file

@ -61,14 +61,12 @@ public class ExampleBuild extends Project {
@BuildCommand(summary = "Compiles the Kotlin project")
@Override
public void compile() throws Exception {
// Avoid warnings in JDK 24
final var options = new CompileOptions().jvmOptions("--enable-native-access=ALL-UNNAMED");
// The source code located in src/main/kotlin and src/test/kotlin will be compiled
new CompileKotlinOperation()
.fromProject(this)
.compileOptions(options)
// .kotlinHome("path/to/kotlin")
// .kotlinc("path/to/kotlinc")
.compileOptions(new CompileOptions().verbose(true))
.execute();
}