diff --git a/cliargs.sh b/cliargs.sh new file mode 100755 index 0000000..3ad0820 --- /dev/null +++ b/cliargs.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +java -cp "lib/compile/*:examples/lib/bld/*" io.gitlab.arturbosch.detekt.cli.Main --help |\ +grep "^ --.*" |\ +sed -e "s/ /\"/" -e "s/, .*//" -e "s/$/\",/" -e '/version/d' -e '/help/d' |\ +sort |\ +sed -e '$s/,//' + diff --git a/examples/lib/bld/bld-wrapper.properties b/examples/lib/bld/bld-wrapper.properties index 7a088fe..3e7152d 100644 --- a/examples/lib/bld/bld-wrapper.properties +++ b/examples/lib/bld/bld-wrapper.properties @@ -1,6 +1,6 @@ bld.downloadExtensionJavadoc=false bld.downloadExtensionSources=true -bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.7 +bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.8 bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.4 bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.downloadLocation= diff --git a/src/test/java/rife/bld/extension/DetektOperationTest.java b/src/test/java/rife/bld/extension/DetektOperationTest.java index 26e42e6..f3bfb55 100644 --- a/src/test/java/rife/bld/extension/DetektOperationTest.java +++ b/src/test/java/rife/bld/extension/DetektOperationTest.java @@ -63,8 +63,8 @@ class DetektOperationTest { var params = List.of( "--all-rules", "--auto-correct", - "--base-path", "--baseline", + "--base-path", "--build-upon-default-config", "--classpath", "--config", @@ -78,7 +78,6 @@ class DetektOperationTest { "--input", "--jdk-home", "--jvm-target", - "--language-version", "--max-issues", "--parallel", "--plugins",