Added JDK release version to example

This commit is contained in:
Erik C. Thauvin 2023-11-07 04:19:08 -08:00
parent 03fb0164c2
commit 5993da5408

View file

@ -57,7 +57,11 @@ public class ExampleBuild extends Project {
public void compile() throws IOException { public void compile() throws IOException {
new CompileKotlinOperation() new CompileKotlinOperation()
.fromProject(this) .fromProject(this)
.compileOptions(new CompileKotlinOptions().verbose(true)) .compileOptions(
new CompileKotlinOptions()
.jdkRelease(javaRelease)
.verbose(true)
)
.execute(); .execute();
} }