public static class MavenUberJar.SourceJar extends JavaSourceJar implements MavenPublishable
Constructor and Description |
---|
SourceJar(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
com.google.common.collect.ImmutableSortedSet<SourcePath> srcs,
Optional<String> mavenCoords,
Optional<SourcePath> mavenPomTemplate,
com.facebook.buck.jvm.java.MavenUberJar.TraversedDeps traversedDeps) |
Modifier and Type | Method and Description |
---|---|
static MavenUberJar.SourceJar |
create(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
com.google.common.collect.ImmutableSortedSet<SourcePath> topLevelSrcs,
Optional<String> mavenCoords,
Optional<SourcePath> mavenPomTemplate) |
Iterable<HasMavenCoordinates> |
getMavenDeps()
When published, these will be listed in pom.xml as dependencies
|
Iterable<BuildRule> |
getPackagedDependencies()
When published, these will be included in the artifact.
|
Optional<SourcePath> |
getPomTemplate() |
getBuildSteps, getMavenCoords, getSourcePathToOutput, getSources
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getMavenCoords, isMavenCoordsPresent
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public SourceJar(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, com.google.common.collect.ImmutableSortedSet<SourcePath> srcs, Optional<String> mavenCoords, Optional<SourcePath> mavenPomTemplate, com.facebook.buck.jvm.java.MavenUberJar.TraversedDeps traversedDeps)
public static MavenUberJar.SourceJar create(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, com.google.common.collect.ImmutableSortedSet<SourcePath> topLevelSrcs, Optional<String> mavenCoords, Optional<SourcePath> mavenPomTemplate)
public Optional<SourcePath> getPomTemplate()
getPomTemplate
in interface MavenPublishable
public Iterable<HasMavenCoordinates> getMavenDeps()
MavenPublishable
getMavenDeps
in interface MavenPublishable
public Iterable<BuildRule> getPackagedDependencies()
MavenPublishable
MavenPublishable.getMavenDeps()
, and the
transitive dependencies of those maven deps would form the complete set of transitive
dependencies for the artifact.getPackagedDependencies
in interface MavenPublishable