class IvyImportPlugin extends java.lang.Object
Gradle plugin for importing from an Ivy file. It provides the following functionality:
fromIvyFile that
is added to the project's ConfigurationContainer.fromIvyFile that is
added to the project's DependencyHandler.applyGroupFromIvyFile and applyVersionFromIvyFile that are added to the
project.IvyFileConvertTask task added to the project.| Type | Name and description |
|---|---|
static java.lang.String |
CONFIGURATION_NAME |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project pProject) |
|
void |
importIvyConfigurations(java.lang.Object pIvyFile)Import configurations from an Ivy file and add them to the project's configurations. |
|
void |
importIvyDependencies(java.lang.Object pIvyFile)Import dependencies from an Ivy file and add them to the project's dependencies. |
|
void |
setGroupFromIvyOrganisation(java.lang.Object pIvyFile)Set the project's group property to the organisation specified in an Ivy file. |
|
void |
setVersionFromIvyRevision(java.lang.Object pIvyFile)Set the project's version property to the revision string specified in an Ivy file. |
| 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() |
Import configurations from an Ivy file and add them to the project's configurations.
pIvyFile - The Ivy file to import configurations from. If null, a file called
"ivy.xml" in the project directory will be used.Import dependencies from an Ivy file and add them to the project's dependencies.
pIvyFile - The Ivy file to import dependencies from. If null, a file called
"ivy.xml" in the project directory will be used. Set the project's group property to the organisation specified in an Ivy file.
pIvyFile - The Ivy file to get the organisation from. If null, a file called
"ivy.xml" in the project directory will be used. Set the project's version property to the revision string specified in an Ivy file.
pIvyFile - The Ivy file to get the revision string from. If null, a file called
"ivy.xml" in the project directory will be used.