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
|
@ -10,7 +10,6 @@
|
|||
<ID>LongMethod:Weather2.kt$Weather2.Companion$@JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message></ID>
|
||||
<ID>LongParameterList:Comment.kt$Comment$( channel: String, cmd: String, entry: EntryLink, entryIndex: Int, commentIndex: Int, event: GenericMessageEvent )</ID>
|
||||
<ID>LongParameterList:EntryLink.kt$EntryLink$( // Link's comments val comments: MutableList<EntryComment> = mutableListOf(), // Tags/categories val tags: MutableList<SyndCategory> = mutableListOf(), // Channel var channel: String, // Creation date var date: Date = Calendar.getInstance().time, // Link's URL var link: String, // Author's login var login: String = "", // Author's nickname var nick: String, // Link's title var title: String )</ID>
|
||||
<ID>MagicNumber:ChatGpt.kt$ChatGpt$400</ID>
|
||||
<ID>MagicNumber:ChatGpt.kt$ChatGpt.Companion$200</ID>
|
||||
<ID>MagicNumber:ChatGpt.kt$ChatGpt.Companion$429</ID>
|
||||
<ID>MagicNumber:Comment.kt$Comment$3</ID>
|
||||
|
@ -20,7 +19,6 @@
|
|||
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter.Companion$4</ID>
|
||||
<ID>MagicNumber:Cycle.kt$Cycle$10</ID>
|
||||
<ID>MagicNumber:Cycle.kt$Cycle$1000L</ID>
|
||||
<ID>MagicNumber:Gemini.kt$Gemini$400</ID>
|
||||
<ID>MagicNumber:Ignore.kt$Ignore$8</ID>
|
||||
<ID>MagicNumber:Info.kt$Info.Companion$30</ID>
|
||||
<ID>MagicNumber:Info.kt$Info.Companion$365</ID>
|
||||
|
|
|
@ -3,7 +3,7 @@ bld.downloadExtensionSources=true
|
|||
bld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.5
|
||||
bld.extensions=com.uwyn.rife2:bld-generated-version:0.9.5
|
||||
bld.extensions-kotlin=com.uwyn.rife2:bld-kotlin:0.9.3
|
||||
bld.extensions-detekt=com.uwyn.rife2:bld-detekt:0.9.2
|
||||
bld.extensions-detekt=com.uwyn.rife2:bld-detekt:0.9.4-SNAPSHOT
|
||||
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
|
||||
bld.downloadLocation=
|
||||
bld.sourceDirectories=
|
||||
|
|
|
@ -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