Interface ToolDefinition
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetClasspath(Closure<? extends Dependency> dependency) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Object dependencyNotation) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Object dependencyNotation, Closure closure) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Object dependencyNotation, Action<? super Dependency> action) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Function<? super DependencyHandler, ? extends Dependency> dependency) Sets the dependency to use as the classpath for AccessTransformers.voidsetClasspath(FileCollection files) Sets the configuration to use as the classpath for AccessTransformers.default voidsetClasspath(Provider<?> dependencyNotation) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Provider<?> dependencyNotation, Closure closure) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(Provider<?> dependencyNotation, Action<? super Dependency> action) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(ProviderConvertible<?> dependencyNotation) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(ProviderConvertible<?> dependencyNotation, Closure closure) Sets the dependency to use as the classpath for AccessTransformers.default voidsetClasspath(ProviderConvertible<?> dependencyNotation, Action<? super Dependency> action) Sets the dependency to use as the classpath for AccessTransformers.voidsetJavaLauncher(Provider<? extends JavaLauncher> javaLauncher) Sets the Java launcher to use to run AccessTransformers.voidsetJavaLauncher(JavaLauncher javaLauncher) Sets the Java launcher to use to run AccessTransformers.voidsetMainClass(String mainClass) Sets the main class to invoke when running AccessTransformers.voidsetMainClass(Provider<String> mainClass) Sets the main class to invoke when running AccessTransformers.
-
Method Details
-
setClasspath
Sets the configuration to use as the classpath for AccessTransformers.- Parameters:
files- The file collection to use
-
setClasspath
void setClasspath(@DelegatesTo(value=DependencyHandler.class,strategy=1) Closure<? extends Dependency> dependency) Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependency- The dependency to use
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependency- The dependency to use
-
setClasspath
default void setClasspath(Object dependencyNotation, @DelegatesTo(Dependency.class) Closure closure) Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useclosure- A configuring closure for the dependency
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useaction- A configuring action for the dependency
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to use
-
setClasspath
default void setClasspath(Provider<?> dependencyNotation, @DelegatesTo(Dependency.class) Closure closure) Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useclosure- A configuring closure for the dependency
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useaction- A configuring action for the dependency
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to use
-
setClasspath
default void setClasspath(ProviderConvertible<?> dependencyNotation, @DelegatesTo(Dependency.class) Closure closure) Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useclosure- A configuring closure for the dependency
-
setClasspath
default void setClasspath(ProviderConvertible<?> dependencyNotation, Action<? super Dependency> action) Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to useaction- A configuring action for the dependency
-
setClasspath
Sets the dependency to use as the classpath for AccessTransformers.- Parameters:
dependencyNotation- The dependency (notation) to use
-
setMainClass
-
setMainClass
-
setJavaLauncher
Sets the Java launcher to use to run AccessTransformers.
This can be easily acquired using Java toolchains.
- Parameters:
javaLauncher- The Java launcher to use- See Also:
-
setJavaLauncher
Sets the Java launcher to use to run AccessTransformers.
This can be easily acquired using Java toolchains.
- Parameters:
javaLauncher- The Java launcher to use- See Also:
- API Note:
- This method exists in case consumers have an eagerly processed
JavaLauncherobject. It is recommended to usesetJavaLauncher(Provider)instead.
-