public interface JavaToolchainService
JavaCompiler, JavaLauncher and JavadocTool.
An instance of this service is available for injection into tasks, plugins and other types.
| Modifier and Type | Method | Description |
|---|---|---|
Provider<JavaCompiler> |
compilerFor(Action<? super JavaToolchainSpec> config) |
Obtain a
JavaCompiler matching the JavaToolchainSpec, as configured by the provided action. |
Provider<JavaCompiler> |
compilerFor(JavaToolchainSpec spec) |
Obtain a
JavaCompiler matching the JavaToolchainSpec. |
Provider<JavadocTool> |
javadocToolFor(Action<? super JavaToolchainSpec> config) |
Obtain a
JavadocTool matching the JavaToolchainSpec, as configured by the provided action. |
Provider<JavadocTool> |
javadocToolFor(JavaToolchainSpec spec) |
Obtain a
JavadocTool matching the JavaToolchainSpec. |
Provider<JavaLauncher> |
launcherFor(Action<? super JavaToolchainSpec> config) |
Obtain a
JavaLauncher matching the JavaToolchainSpec, as configured by the provided action. |
Provider<JavaLauncher> |
launcherFor(JavaToolchainSpec spec) |
Obtain a
JavaLauncher matching the JavaToolchainSpec. |
Provider<JavaCompiler> compilerFor(Action<? super JavaToolchainSpec> config)
JavaCompiler matching the JavaToolchainSpec, as configured by the provided action.config - The configuration of the JavaToolchainSpecProvider<JavaCompiler>Provider<JavaCompiler> compilerFor(JavaToolchainSpec spec)
JavaCompiler matching the JavaToolchainSpec.spec - The JavaToolchainSpecProvider<JavaCompiler>Provider<JavaLauncher> launcherFor(Action<? super JavaToolchainSpec> config)
JavaLauncher matching the JavaToolchainSpec, as configured by the provided action.config - The configuration of the JavaToolchainSpecProvider<JavaLauncher>Provider<JavaLauncher> launcherFor(JavaToolchainSpec spec)
JavaLauncher matching the JavaToolchainSpec.spec - The JavaToolchainSpecProvider<JavaLauncher>Provider<JavadocTool> javadocToolFor(Action<? super JavaToolchainSpec> config)
JavadocTool matching the JavaToolchainSpec, as configured by the provided action.config - The configuration of the JavaToolchainSpecProvider<JavadocTool>Provider<JavadocTool> javadocToolFor(JavaToolchainSpec spec)
JavadocTool matching the JavaToolchainSpec.spec - The JavaToolchainSpecProvider<JavadocTool>