Class ResourcePlugin.CopyModuleResources
java.lang.Object
build.spin.common.task.AbstractCopy
build.spin.module.java.AbstractResourcePlugin.CopyResources
build.spin.module.java.ResourcePlugin.CopyModuleResources
- All Implemented Interfaces:
build.spin.Task<build.base.io.PathSet>
- Enclosing class:
ResourcePlugin
@Named("copy.module.resources")
@Before(JavaCompilerPlugin.Compile.class)
public static class ResourcePlugin.CopyModuleResources
extends AbstractResourcePlugin.CopyResources
A
Task to copy the source module resources into the build.- Since:
- Dec-2020
- 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.PathSetprotected StringReturns the destination sub-path prefix within the build directory (e.g.Methods inherited from class AbstractResourcePlugin.CopyResources
doCopyMethods inherited from class build.spin.common.task.AbstractCopy
copyMethods 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
-
CopyModuleResources
public CopyModuleResources()
-
-
Method Details
-
destinationPrefix
Description copied from class:AbstractResourcePlugin.CopyResourcesReturns the destination sub-path prefix within the build directory (e.g."main/"or"test/").- Specified by:
destinationPrefixin classAbstractResourcePlugin.CopyResources
-
copy
public build.base.io.PathSet copy(@From(ResourcePlugin.DetectModuleResourcePaths.class) build.base.io.PathSet paths, @From(build.spin.module.clean.CleanPlugin.CreateBuildPath.class) Path buildPath)
-