Bumped Detekt extension to version 0.9.4-SHAPSHOT

This commit is contained in:
Erik C. Thauvin 2024-04-17 23:07:48 -07:00
parent a58dc67caf
commit 7c1dec5c5e
Signed by: erik
GPG key ID: 776702A6A2DA330E
3 changed files with 5 additions and 5 deletions

View file

@ -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();
}