All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.nebula.config.plugin.ConfigurationEnvironmentPlugin.groovy Maven / Gradle / Ivy

Go to download

Pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts

There is a newer version: 20.2.2
Show newest version
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