Skip to content

Commit 5993da5

Browse files
committed
Added JDK release version to example
1 parent 03fb016 commit 5993da5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/src/bld/java/com/example/ExampleBuild.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ public static void main(String[] args) {
5757
public void compile() throws IOException {
5858
new CompileKotlinOperation()
5959
.fromProject(this)
60-
.compileOptions(new CompileKotlinOptions().verbose(true))
60+
.compileOptions(
61+
new CompileKotlinOptions()
62+
.jdkRelease(javaRelease)
63+
.verbose(true)
64+
)
6165
.execute();
6266
}
6367

0 commit comments

Comments
 (0)