Skip to content

Commit d658bcf

Browse files
committed
Enabled verbose compiling
1 parent fbaa026 commit d658bcf

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,11 @@ public static void main(String[] args) {
5858
@Override
5959
public void compile() throws Exception {
6060
// The source code located in src/main/kotlin and src/test/kotlin will be compiled
61-
new CompileKotlinOperation()
62-
.fromProject(this)
61+
var op = new CompileKotlinOperation()
6362
// .kotlinHome("path/to/kotlin")
6463
// .kotlinc("path/to/kotlinc")
65-
.execute();
66-
67-
// var op = new CompileKotlinOperation().fromProject(this);
68-
// op.compileOptions().verbose(true);
69-
// op.execute();
64+
.fromProject(this);
65+
op.compileOptions().verbose(true);
66+
op.execute();
7067
}
7168
}

0 commit comments

Comments
 (0)