Gradle tweaks#3575
Conversation
d9bc6d7 to
6d318e0
Compare
Codecov Report
@@ Coverage Diff @@
## master #3575 +/- ##
=========================================
Coverage 77.53% 77.53%
Complexity 2829 2829
=========================================
Files 464 464
Lines 8769 8769
Branches 1713 1713
=========================================
Hits 6799 6799
Misses 1046 1046
Partials 924 924 Continue to review full report at Codecov.
|
4f9fc1d to
f1eeba7
Compare
* Prefer Maven Central to JCenter * Limit JCenter to kotlinx-html-jvm module only * Remove unnecessary repository declarations
There's no Java source code in the repository
| // We need to perform api validations for external APIs, for :detekt-api and :detekt-psi-utils | ||
| ignoredProjects.addAll(subprojects.filter { it.name !in listOf("detekt-api", "detekt-psi-utils") }.map { it.name }) | ||
| ignoredPackages.add("io.gitlab.arturbosch.detekt.api.internal") | ||
| } |
| } | ||
|
|
||
| apiValidation { | ||
| ignoredPackages.add("io.gitlab.arturbosch.detekt.api.internal") |
There was a problem hiding this comment.
Isn't this necessary for detekt-psi-utils as well?
There was a problem hiding this comment.
The io.gitlab.arturbosch.detekt.api.internal package is only used in the detekt-api project so there shouldn't be any need to ignore it in detekt-psi-utils. :detekt-psi-utils:apiCheck & :detekt-api:apiCheck tasks both run successfully with this config.
Just rearranging a few things to make the build config a little more idiomatic, as well as fix a deprecation warning and fix a couple of issues in the README examples.