Update compile options to new syntax
This commit is contained in:
parent
028e173274
commit
1694e6f665
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ package com.example;
|
|||
|
||||
import rife.bld.BuildCommand;
|
||||
import rife.bld.Project;
|
||||
import rife.bld.operations.JavacOptions.Processing;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
@ -42,7 +43,7 @@ public class ExampleBuild extends Project {
|
|||
public void compile() throws Exception {
|
||||
var generated = new File(buildDirectory(), "generated");
|
||||
var ignore = generated.mkdir();
|
||||
compileOperation().compileOptions().addAll(List.of("-proc:full", "-s", generated.getAbsolutePath()));
|
||||
compileOperation().compileOptions().process(Processing.FULL).sourceOutput(generated);
|
||||
super.compile();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue