public interface JkBuildable
Modifier and Type | Interface and Description |
---|---|
static class |
JkBuildable.Adapted |
static interface |
JkBuildable.Supplier |
Modifier and Type | Method and Description |
---|---|
boolean |
compile(JkJavaCompileSpec compileSpec) |
void |
compileIfNeeded() |
void |
createJavadocJar(java.nio.file.Path targetFile) |
void |
createSourceJar(java.nio.file.Path targetFile) |
JkBuildable.Adapted |
getAdapted() |
JkArtifactLocator |
getArtifactLocator()
Files for artifacts to publish.
|
java.nio.file.Path |
getBaseDir() |
java.nio.file.Path |
getClassDir() |
JkDependencySet |
getCompiledDependencies()
Get the set of dependencies required for compilation.
|
JkCoordinate.ConflictStrategy |
getDependencyConflictStrategy()
Returns the strategy for resolving dependency conflicts.
|
JkDependencyResolver |
getDependencyResolver() |
java.lang.String |
getMainClass() |
java.nio.file.Path |
getMainJarPath() |
JkConsumers<JkManifest> |
getManifestCustomizers() |
JkModuleId |
getModuleId() |
java.nio.file.Path |
getOutputDir() |
java.util.List<java.nio.file.Path> |
getRuntimeDependenciesAsFiles() |
JkDependencySet |
getRuntimesDependencies()
Get the dependencies needed at runtime,
typically including compile-time dependencies and those used only at runtime.
|
JkVersion |
getVersion() |
JkJavaProcess |
prepareRunJar() |
JkResolveResult |
resolveRuntimeDependencies() |
void |
setVersionSupplier(java.util.function.Supplier<JkVersion> versionSupplier) |
JkArtifactLocator getArtifactLocator()
java.nio.file.Path getClassDir()
JkResolveResult resolveRuntimeDependencies()
java.util.List<java.nio.file.Path> getRuntimeDependenciesAsFiles()
JkVersion getVersion()
JkModuleId getModuleId()
java.nio.file.Path getOutputDir()
java.nio.file.Path getBaseDir()
java.lang.String getMainClass()
void compileIfNeeded()
JkDependencyResolver getDependencyResolver()
java.nio.file.Path getMainJarPath()
JkBuildable.Adapted getAdapted()
boolean compile(JkJavaCompileSpec compileSpec)
JkDependencySet getCompiledDependencies()
JkDependencySet getRuntimesDependencies()
JkCoordinate.ConflictStrategy getDependencyConflictStrategy()
void createSourceJar(java.nio.file.Path targetFile)
void createJavadocJar(java.nio.file.Path targetFile)
void setVersionSupplier(java.util.function.Supplier<JkVersion> versionSupplier)
JkConsumers<JkManifest> getManifestCustomizers()
JkJavaProcess prepareRunJar()