Detect check not work on multi module project
See original GitHub issueIn my kotlin app 3 module. When i run command ./gradlew detektCheck i see -> Analyzing 0 kotlin files:
./gradlew detektCheck
Parallel execution with configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:detektCheck
Analyzing 0 kotlin files:
BUILD SUCCESSFUL
And second trouble, i cant configure check for all modules (data, domain, ui)
detekt {
version = "1.0.0.M11"
input = "$input/data/src/main/java"
config = "$project.projectDir/default-detekt-config.yml"
filters = ".*test.*,.*/resources/.*,.*/tmp/.*"
output = true
report = "$project.projectDir/build/reports"
}
When i try to implement detekt check in single module app it works perfect!
kotlin 1.1.1
property file:
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m
android.useDeprecatedNdk = true
org.gradle.daemon = true
org.gradle.parallel = true
org.gradle.configureondemand=true
kotlin.incremental=true
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Why a module in my multi-module maven project doesn't work?
Right-click the parent/root project and choose Configure > Configure and Detect Nested Projects...
Read more >Building applications with Maven - Quarkus
Working with multi-module projects. By default, Quarkus will not discover CDI beans inside another module. The best way to enable CDI bean discovery...
Read more >Multi-Module Maven Application with Java Modules - Baeldung
Learn to create a multi-module Maven application using the Java Platform Module System (JPMS).
Read more >Module dependencies | IntelliJ IDEA Documentation - JetBrains
If you want to check whether a dependency still exists in your project, and find its exact usages, you can run dependency analysis:....
Read more >Executing Multi-Project Builds - Gradle User Manual
The basic rule behind Gradle's behavior is: execute all tasks down the hierarchy which have this name. Only complain if there is no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is also addressed with the gradle plugin rework. Each sourceset will get a detekt check task.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.