com.netflix.nebula.config.plugin.ConfigurationEnvironmentPlugin.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-lint-plugin Show documentation
Show all versions of gradle-lint-plugin Show documentation
Pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts
package com.netflix.nebula.config.plugin
import groovy.transform.CompileStatic
import org.gradle.api.Plugin
import org.gradle.api.Project
/**
* This plugin is used to print the configuration hierarchy,
* useful in understanding such hierarchies for the creation of
* new lint rules that may depend on manipulating dependencies in a
* configuration-dependent way.
*/
@CompileStatic
class ConfigurationEnvironmentPlugin implements Plugin {
@Override
void apply(Project project) {
project.tasks.create('configurationEnvironment', ConfigurationEnvironmentPrintTask)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy