gradle-lint-plugin
gradle-lint-plugin copied to clipboard
lintGradle not available at subproject level when plugin applied at root
I have a multimodule project - I apply the plugin as follows at the root:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.netflix.nebula:gradle-lint-plugin:latest.release'
}
}
allprojects {
apply plugin: 'nebula.lint'
gradleLint.rules += 'unused-dependency'
gradleLint.alwaysRun = false
}
I can run lintGradle at the root, but at the subproject level only the generateGradleLintReport task is available.
Seems like the reason is the same in #196
Also #242