public class IvyImportExtension extends ProjectAware
| Constructor and Description |
|---|
IvyImportExtension(org.gradle.api.Project pProject,
org.gradle.api.artifacts.Configuration pConfiguration)
Create a new
IvyImportExtension. |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.file.FileCollection |
getIvyClassPath()
Get the class path containing the Ivy related classes used by the Ivy import.
|
java.lang.String |
getIvyVersion()
Get the version of the Ivy libraries to use when importing from an Ivy file.
|
java.io.File |
getSettingsFile()
Get the Ivy settings file to use when importing from an Ivy file.
|
java.lang.String |
getWildcardConfiguration()
Get the name of the configuration to map the wildcard Ivy configuration to.
|
void |
setIvyClassPath(org.gradle.api.file.FileCollection pIvyClassPath) |
void |
setIvyVersion(java.lang.String pIvyVersion)
Set the version of the Ivy libraries to use when importing from an Ivy file.
|
void |
setSettingsFile(java.lang.Object pFile)
Set the Ivy settings file to use when importing from an Ivy file.
|
void |
setWildcardConfiguration(java.lang.String pWildcardConfiguration)
Set the name of the configuration to map the wildcard Ivy configuration to.
|
getProject, getProjectLoggerpublic IvyImportExtension(org.gradle.api.Project pProject,
org.gradle.api.artifacts.Configuration pConfiguration)
IvyImportExtension.pProject - The project that owns the extension.pConfiguration - The ivyImport configuration.java.lang.NullPointerException - if any of the parameters is null.public java.io.File getSettingsFile()
public void setSettingsFile(java.lang.Object pFile)
pFile - The settings file, possibly nullpublic java.lang.String getIvyVersion()
public void setIvyVersion(java.lang.String pIvyVersion)
pIvyVersion - The Ivy library version. Passing null will cause the default value to be
returned from getIvyVersion.public org.gradle.api.file.FileCollection getIvyClassPath()
ivyImport configuration.public void setIvyClassPath(org.gradle.api.file.FileCollection pIvyClassPath)
public java.lang.String getWildcardConfiguration()
public void setWildcardConfiguration(java.lang.String pWildcardConfiguration)
pWildcardConfiguration - The wildcard configuration name. Passing null will cause the
default value to be returned from
getWildcardConfiguration.