Interface Tool.Resolved
- All Superinterfaces:
Callable<org.gradle.api.file.FileCollection>,org.gradle.api.Named,Serializable,Tool
- Enclosing interface:
Tool
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.NamerNested classes/interfaces inherited from interface net.minecraftforge.gradleutils.shared.Tool
Tool.Definition, Tool.Resolved -
Method Summary
Modifier and TypeMethodDescriptiondefault org.gradle.api.file.FileCollectioncall()org.gradle.api.file.FileCollectionGets the classpath containing the tool to be used.org.gradle.api.provider.Property<org.gradle.jvm.toolchain.JavaLauncher> Gets the Java launcher used to run AccessTransformers.Methods inherited from interface net.minecraftforge.gradleutils.shared.Tool
getJavaVersion, getMainClass, getName, getVersion, hasMainClass
-
Method Details
-
call
-
getClasspath
org.gradle.api.file.FileCollection getClasspath()Gets the classpath containing the tool to be used.- Returns:
- The classpath of the resolved tool
-
getJavaLauncher
org.gradle.api.provider.Property<org.gradle.jvm.toolchain.JavaLauncher> getJavaLauncher()Gets the Java launcher used to run AccessTransformers.
This can be easily acquired using Java toolchains.
- Returns:
- The property for the Java launcher
- See Also:
-