Skip to content

lintGradle not available at subproject level when plugin applied at root #182

@nickcotter

Description

@nickcotter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions