public class JkJavaProjectPackTasks
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
createBinJar(java.nio.file.Path target) |
void |
createFatJar(java.nio.file.Path target) |
void |
createSourceJar(java.nio.file.Path target) |
void |
createTestJar(java.nio.file.Path target) |
java.util.function.Supplier<java.lang.String> |
getArtifactFileNameSupplier() |
java.util.function.Supplier<java.lang.String> |
getIncludingVersionFileNameSupplier()
Returns an artifact file name supplier for including version in artifact file names.
|
java.util.function.Supplier<java.lang.String> |
getModuleNameFileNameSupplier()
Returns an artifact file name supplier for NOT including version in artifact file names.
|
JkJavaProjectPackTasks |
setArtifactFileNameSupplier(java.util.function.Supplier<java.lang.String> artifactFileNameSupplier)
Specifies how the name of the artifact files will be constructed.
|
JkJavaProjectPackTasks |
setChecksumAlgorithms(java.lang.String... algorithms)
Defines the algorithms to sign the produced artifacts.
|
public java.util.function.Supplier<java.lang.String> getIncludingVersionFileNameSupplier()
public java.util.function.Supplier<java.lang.String> getModuleNameFileNameSupplier()
public java.util.function.Supplier<java.lang.String> getArtifactFileNameSupplier()
public void createBinJar(java.nio.file.Path target)
public void createFatJar(java.nio.file.Path target)
public void createSourceJar(java.nio.file.Path target)
public void createTestJar(java.nio.file.Path target)
public JkJavaProjectPackTasks setArtifactFileNameSupplier(java.util.function.Supplier<java.lang.String> artifactFileNameSupplier)
public JkJavaProjectPackTasks setChecksumAlgorithms(java.lang.String... algorithms)
algorithms
- Digest algorithm working on JDK8 platform including md5, sha-1, sha-2 and sha-256