Bumped Detekt extension to version 0.9.4-SHAPSHOT
This commit is contained in:
parent
a58dc67caf
commit
7c1dec5c5e
3 changed files with 5 additions and 5 deletions
|
@ -57,6 +57,8 @@ import static rife.bld.dependencies.Scope.compile;
|
|||
import static rife.bld.dependencies.Scope.test;
|
||||
|
||||
public class MobibotBuild extends Project {
|
||||
private static final String DETEKT_BASELINE = "config/detekt/baseline.xml";
|
||||
|
||||
public MobibotBuild() {
|
||||
pkg = "net.thauvin.erik.mobibot";
|
||||
name = "mobibot";
|
||||
|
@ -162,7 +164,7 @@ public class MobibotBuild extends Project {
|
|||
public void detekt() throws ExitStatusException, IOException, InterruptedException {
|
||||
new DetektOperation()
|
||||
.fromProject(this)
|
||||
.baseline("config/detekt/baseline.xml")
|
||||
.baseline(DETEKT_BASELINE)
|
||||
.execute();
|
||||
}
|
||||
|
||||
|
@ -170,7 +172,7 @@ public class MobibotBuild 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