mauin
02/05/2018, 6:13 AMmauin
02/06/2018, 6:42 AMbuild.gradle
file and then executing tasks for different gradle modules gives different results? And you also only define the config in the root project?
If that’s the case it sounds weird. I agree, it makes sense only picking up the defined sourceSets and recursing in them to find all .kt
files. However that will mean that the Gradle Plugin would have to automatically add detekt tasks to all submodules if the plugin is defined in the top-level. Otherwise we would never have any sourcesets to access.Artur Bosch
02/07/2018, 12:20 PMproject.projectDir
. In the rework I will make the gradle plugin sourceset aware ^^toto
02/07/2018, 12:55 PMArtur Bosch
03/04/2018, 5:33 PMkagomez
03/20/2018, 11:17 PMkagomez
03/22/2018, 4:01 PMoptionally configure detekt for each sub module by using profiles (gradle-plugin)
I have a modular projectmauin
03/26/2018, 8:00 AMArtur Bosch
04/20/2018, 2:15 PMgradle
idea(Action {
path = "$userHome/.idea"
codeStyleScheme = "$userHome/.idea/idea-code-style.xml"
inspectionsProfile = "$userHome/.idea/inspect.xml"
report = "${rootProject.projectDir}/reports"
mask = "*.kt,"
})
Tobi
04/23/2018, 9:46 AM1.0.0.RC6-3
due to a breaking api change in 1.0.0.RC6-4
of the plugin.
Since a couple of days we can’t resolve RC6-3
anymore through the gradle plugins repo. Is this known?vanniktech
04/23/2018, 9:59 AMEugen Martynov
04/30/2018, 4:26 PMArtur Bosch
05/01/2018, 11:11 AMCzar
05/15/2018, 11:17 PMseb
06/21/2018, 10:05 AMthemishkun
06/21/2018, 12:45 PMruleSets
is now gone, the right property is plugins
. the docs here https://arturbosch.github.io/detekt/groovydsl.html#options-for-detekt-configuration-closure are outdatedkevinherron
06/22/2018, 5:39 PMsubprojects {
apply plugin: "io.gitlab.arturbosch.detekt"
detekt {
version = "1.0.0.RC7-2"
defaultProfile {
input = file("src/main/kotlin")
filters = ".*/resources/.*,.*/build/.*"
}
}
}
results :detektCheck running for each module… but analyzing the same module each timeArtur Bosch
06/22/2018, 10:41 PMArtur Bosch
07/08/2018, 6:55 PMvanniktech
07/11/2018, 8:53 AMseb
07/26/2018, 7:36 AMpavlospt
08/03/2018, 7:10 AMexpression.getCallNameExpression()?.textMatches("forEach")
where expression
is a KtCallExpression
and I would like to also check that the class of the caller is a Map
or something implementing a Map
. This is the part though where I am getting it wrong, because it does not seem to be like UAST, where you can check the qualifiedName
of elements.ska
08/03/2018, 8:35 AMaandreyev
08/07/2018, 9:30 PMkenkyee
08/13/2018, 4:54 PMpavlospt
08/23/2018, 6:57 AMRunning detekt 'unknown' on Java '1.8.0_144-b01' on OS 'Mac OS X'.
▸ Please create an issue and report this exception.
▸ java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
▸ java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
▸ java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1592)
▸ java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
▸ java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
▸ java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
▸ java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
▸ java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
I am not sure where to look for the cause. Does anyone have any idea?Jukka Siivonen
09/03/2018, 1:15 PMfabio.carballo
09/03/2018, 3:50 PMreport
without any condition. Has anyone faced this?Artur Bosch
09/08/2018, 2:44 PMArtur Bosch
09/09/2018, 6:40 PM