Minor cleanup
This commit is contained in:
parent
6eede8886d
commit
2c64779c18
5 changed files with 5 additions and 3 deletions
|
@ -53,6 +53,7 @@ import static rife.bld.dependencies.Repository.*;
|
|||
import static rife.bld.dependencies.Scope.*;
|
||||
|
||||
public class AkismetBuild extends Project {
|
||||
private static final String DETEKT_BASELINE = "config/detekt/baseline.xml";
|
||||
final File srcMainKotlin = new File(srcMainDirectory(), "kotlin");
|
||||
|
||||
public AkismetBuild() {
|
||||
|
@ -144,7 +145,7 @@ public class AkismetBuild extends Project {
|
|||
public void detekt() throws ExitStatusException, IOException, InterruptedException {
|
||||
new DetektOperation()
|
||||
.fromProject(this)
|
||||
.baseline("config/detekt/baseline.xml")
|
||||
.baseline(DETEKT_BASELINE)
|
||||
.execute();
|
||||
}
|
||||
|
||||
|
@ -152,7 +153,7 @@ public class AkismetBuild extends Project {
|
|||
public void detektBaseline() throws ExitStatusException, IOException, InterruptedException {
|
||||
new DetektOperation()
|
||||
.fromProject(this)
|
||||
.baseline("config/detekt/baseline.xml")
|
||||
.baseline(DETEKT_BASELINE)
|
||||
.createBaseline(true)
|
||||
.execute();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue