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, getSourcesdeprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMavenCoords, isMavenCoordsPresentcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic 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 MavenPublishablepublic Iterable<HasMavenCoordinates> getMavenDeps()
MavenPublishablegetMavenDeps in interface MavenPublishablepublic Iterable<BuildRule> getPackagedDependencies()
MavenPublishableMavenPublishable.getMavenDeps(), and the
transitive dependencies of those maven deps would form the complete set of transitive
dependencies for the artifact.getPackagedDependencies in interface MavenPublishable