public class Transformation extends AbstractUserConfiguration
AbstractUserConfiguration.PrefixIterable| Constructor and Description |
|---|
Transformation(org.gradle.api.Project project)
Creates a new transformation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
argument(groovy.lang.Closure<?> closure)
Adds a plugin argument to consider during instantiation.
|
java.lang.String |
getPlugin()
Returns the plugin type name.
|
java.lang.String |
getRawPlugin()
Returns the plugin name or
null if it is not set. |
java.util.List<net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver> |
makeArgumentResolvers()
Creates the argument resolvers for the plugin's constructor by transforming the plugin arguments.
|
void |
setPlugin(java.lang.String plugin)
Sets the plugin's name.
|
getClassPath, setClassPathpublic Transformation(org.gradle.api.Project project)
project - The current project.public void argument(groovy.lang.Closure<?> closure)
closure - The closure for configuring the argument.public java.lang.String getPlugin()
public java.lang.String getRawPlugin()
null if it is not set.public void setPlugin(java.lang.String plugin)
plugin - The fully-qualified name of the plugin type.public java.util.List<net.bytebuddy.build.Plugin.Factory.UsingReflection.ArgumentResolver> makeArgumentResolvers()