Added JDK release version to example
This commit is contained in:
parent
03fb0164c2
commit
5993da5408
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue