Extension for configuring VersionEye plugin.
| Modifiers | Name | Description |
|---|---|---|
static groovy.lang.Closure |
CONFIGURATIONS |
Strategy for determining scopes that simply uses the dependency configuration names, as well as the 'plugin' scope for any build script dependencies. |
static groovy.lang.Closure |
DEFAULT |
Default implementation of determining scopes from a dependency's configuration names. |
static java.lang.String |
declared |
|
static java.lang.String |
transitive |
| Type | Name and description |
|---|---|
java.lang.String |
baseUrlBase URL of the VersionEye API. |
java.lang.String |
dependenciesStates which dependencies are analyzed - only the defined or all resolved dependencies. |
groovy.lang.Closure |
determineScopeStrategyStrategy to determine dependency scopes. |
java.util.Set<java.lang.String> |
excludeConfigurationsConfiguration to exclude when calculating the dependencies. |
boolean |
includePluginsIf Gradle plugins should be included in the dependencies. |
boolean |
includeSubProjectsIf dependencies from sub-projects should be included. |
java.lang.Object |
lastVersionEyeResponseCache the response received from VersionEye with create or update. |
boolean |
licenseCheckBreakByUnknownIf the license check should fail when unknown licenses are encountered. |
org.gradle.api.Project |
project |
| Constructor and description |
|---|
VersionEyeExtension
(org.gradle.api.Project project) |
| Type | Name and description |
|---|---|
boolean |
acceptConfiguration(java.lang.String name)Test if the given configuration should be excluded. |
void |
exclude(java.lang.String... configs)Specify configurations to exclude. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Strategy for determining scopes that simply uses the dependency configuration names, as well as the 'plugin' scope for any build script dependencies.
Default implementation of determining scopes from a dependency's configuration names. - always retains special 'plugin' configuration as scope - preferably uses scope 'compile', 'test' or 'runtime' based on standard Gradle project setups - as fallback uses all configuration names as they are
Base URL of the VersionEye API.
States which dependencies are analyzed - only the defined or all resolved dependencies.
Strategy to determine dependency scopes. Input is the set of configuration names a dependency was found in, output should be an Iterable of Strings that holds the corresponding scope names for the dependency. Note that for all build script dependencies the configuration name given here is 'plugin'. See the default implementation for an example.
Configuration to exclude when calculating the dependencies.
If Gradle plugins should be included in the dependencies. Gradle plugin dependencies are determined via the build script dependency configurations.
If dependencies from sub-projects should be included.
Cache the response received from VersionEye with create or update.
If the license check should fail when unknown licenses are encountered.
Groovy Documentation