Core of the DSL for configuring Aether dependency resolution
Type | Name and description |
---|---|
AetherDependencyManager |
aetherDependencyManager |
org.eclipse.aether.util.graph.selector.ExclusionDependencySelector |
exclusionDependencySelector |
org.eclipse.aether.DefaultRepositorySystemSession |
session |
Constructor and description |
---|
AetherDsl
(AetherDependencyManager dependencyManager) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
cacheDir(java.io.File f) |
|
void |
cacheDir(java.lang.String f) |
|
void |
checksums(boolean enable) Configures the checksum policy to either fail or ignore |
|
void |
checksums(java.lang.String checksumPolicy) Uses an explicit checksum policy. |
|
org.eclipse.aether.repository.Authentication |
credentials(groovy.lang.Closure c) Sets up authentication for a repository |
|
void |
dependencies(groovy.lang.Closure callable) Defines the dependencies of the project |
|
java.lang.Object |
environments(groovy.lang.Closure callable) Environment support |
|
void |
inherits(java.lang.String name, groovy.lang.Closure customizer = null) Whether to inherit dependenices from the framework or not |
|
void |
legacyResolve(boolean b) |
|
void |
log(java.lang.String level) Configures the log level to use for Aether |
|
void |
management(groovy.lang.Closure callable) Defines the managed dependencies of the project. |
|
void |
plugins(groovy.lang.Closure callable) Defines the plugin dependencies of the project |
|
void |
pom(boolean b) |
|
void |
repositories(groovy.lang.Closure callable) The repositories to configure |
|
void |
useOrigin(boolean b) |
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() |
Configures the checksum policy to either fail or ignore
enable
- If enabled fail if checksums are invalidUses an explicit checksum policy.
checksumPolicy
- The checksum policySets up authentication for a repository
c
- The credentialsDefines the dependencies of the project
callable
- A closure that delegate to DependenciesConfigurationEnvironment support
callable
- The callableWhether to inherit dependenices from the framework or not
name
- The named dependencies to inheritcustomizer
- The customizer to use if excluding dependencies from the frameworkConfigures the log level to use for Aether
level
- The level, either "warn", "error", "info", "debug" or "verbose"Defines the managed dependencies of the project. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management
callable
- A closure that delegate to DependenciesConfigurationDefines the plugin dependencies of the project
callable
- A closure that delegate to PluginConfigurationThe repositories to configure
callable
- A closure that defines the repositoriesGroovy Documentation