Class Java8CompilerPlugin.Compile
java.lang.Object
build.spin.module.java.AbstractCompile
build.spin.module.java.Java8CompilerPlugin.Compile
- All Implemented Interfaces:
JavaCompilerPlugin.Compile, build.spin.Task<build.base.io.PathSet>
- Enclosing class:
Java8CompilerPlugin
@Named("compile")
public static class Java8CompilerPlugin.Compile
extends AbstractCompile
implements JavaCompilerPlugin.Compile
A
Task to compile the source code in the Project.- Since:
- Jul-2019
- Author:
- brian.oliver
-
Nested Class Summary
Nested classes/interfaces inherited from interface build.spin.Task
build.spin.Task.Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild.base.io.PathSetcompile(build.base.io.PathSet sourceCode, build.spawn.jdk.option.ModulePath modulePath, build.spawn.jdk.option.ClassPath classPath, build.spin.Asset<Path> buildPath) Compiles the source code in the providedPathSetinto the specified buildPath.Methods inherited from class AbstractCompile
compile, dependenciesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface build.spin.Task
dependencies, execute
-
Constructor Details
-
Compile
public Compile()
-
-
Method Details
-
compile
public build.base.io.PathSet compile(@From(Java8CompilerPlugin.DetectSourceFiles.class) build.base.io.PathSet sourceCode, @From(Java8CompilerPlugin.DetectCompilationModulePath.class) build.spawn.jdk.option.ModulePath modulePath, @From(Java8CompilerPlugin.DetectCompilationClassPath.class) build.spawn.jdk.option.ClassPath classPath, @From(build.spin.module.clean.CleanPlugin.CreateBuildPath.class) build.spin.Asset<Path> buildPath) throws Exception Compiles the source code in the providedPathSetinto the specified buildPath.
-