public final class JkIvyPublication<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JkIvyPublication.JkPublicationArtifact |
Modifier and Type | Method and Description |
---|---|
JkIvyPublication<T> |
addArtifact(java.lang.String artifactName,
java.nio.file.Path artifactFile,
java.lang.String type,
java.lang.String... scopes)
Adds the specified artifact to the publication.
|
JkIvyPublication<T> |
addArtifacts(JkArtifactProducer artifactProducer)
|
JkIvyPublication<T> |
addArtifacts(java.util.function.Supplier<JkArtifactLocator> artifactLocator)
Adds all the artifacts defined in the specified artifactLocator.
|
JkIvyPublication<T> |
addOptionalArtifact(java.nio.file.Path file,
java.lang.String... scopes)
Same as
setMainArtifact(Path, String...) (Path, String...)} but effective only if the specified file exists. |
JkIvyPublication<T> |
addOptionalArtifactWithType(java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes)
Same as
setMainArtifact(Path, String...) (Path, String, String...)} but effective only if the specified file
exists. |
JkIvyPublication<T> |
clear() |
java.util.List<JkIvyPublication.JkPublicationArtifact> |
getAllArtifacts() |
JkDependencySet |
getDependencies() |
static JkIvyPublication<java.lang.Void> |
of() |
static <T> JkIvyPublication<T> |
of(T parent) |
void |
publish(JkRepoSet repos) |
JkIvyPublication<T> |
setDependencies(java.util.function.UnaryOperator<JkDependencySet> modifier) |
JkIvyPublication<T> |
setMainArtifact(java.nio.file.Path file,
java.lang.String... scopes) |
JkIvyPublication<T> |
setMainArtifactWithType(java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes) |
JkIvyPublication<T> |
setResolvedVersionProvider(java.util.function.Supplier<JkVersionProvider> resolvedVersionProvider) |
JkIvyPublication<T> |
setScopeMapping(JkScopeMapping scopeMapping) |
JkIvyPublication<T> |
setVersionedModule(JkVersionedModule versionedModule) |
JkIvyPublication<T> |
setVersionedModule(java.util.function.Supplier<JkVersionedModule> versionedModule) |
public final T __
public static <T> JkIvyPublication<T> of(T parent)
public static JkIvyPublication<java.lang.Void> of()
public JkIvyPublication<T> setVersionedModule(java.util.function.Supplier<JkVersionedModule> versionedModule)
public JkIvyPublication<T> setVersionedModule(JkVersionedModule versionedModule)
public JkIvyPublication<T> setDependencies(java.util.function.UnaryOperator<JkDependencySet> modifier)
public JkDependencySet getDependencies()
public JkIvyPublication<T> setResolvedVersionProvider(java.util.function.Supplier<JkVersionProvider> resolvedVersionProvider)
public JkIvyPublication<T> setScopeMapping(JkScopeMapping scopeMapping)
public JkIvyPublication<T> clear()
public JkIvyPublication<T> addArtifacts(java.util.function.Supplier<JkArtifactLocator> artifactLocator)
public JkIvyPublication<T> addArtifacts(JkArtifactProducer artifactProducer)
public JkIvyPublication<T> setMainArtifact(java.nio.file.Path file, java.lang.String... scopes)
public JkIvyPublication<T> setMainArtifactWithType(java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
public JkIvyPublication<T> addArtifact(java.lang.String artifactName, java.nio.file.Path artifactFile, java.lang.String type, java.lang.String... scopes)
public JkIvyPublication<T> addOptionalArtifact(java.nio.file.Path file, java.lang.String... scopes)
setMainArtifact(Path, String...)
(Path, String...)} but effective only if the specified file exists.public JkIvyPublication<T> addOptionalArtifactWithType(java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
setMainArtifact(Path, String...)
(Path, String, String...)} but effective only if the specified file
exists.public java.util.List<JkIvyPublication.JkPublicationArtifact> getAllArtifacts()
public void publish(JkRepoSet repos)