final class ModuleID extends ModuleIDExtra with Serializable
- Alphabetic
- By Inheritance
- ModuleID
- Serializable
- Serializable
- ModuleIDExtra
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
artifacts(newArtifacts: Artifact*): ModuleID
Declares the explicit artifacts for this module.
Declares the explicit artifacts for this module. If this ModuleID represents a dependency, these artifact definitions override the information in the dependency's published metadata.
- Definition Classes
- ModuleIDExtra
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributeString: String
- Attributes
- protected
- Definition Classes
- ModuleIDExtra
-
def
branch(branchName: Option[String]): ModuleID
- Definition Classes
- ModuleIDExtra
-
def
branch(branchName: String): ModuleID
Sets the Ivy branch of this module.
Sets the Ivy branch of this module.
- Definition Classes
- ModuleIDExtra
-
val
branchName: Option[String]
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
changing(): ModuleID
Marks this dependency as "changing".
Marks this dependency as "changing". Ivy will always check if the metadata has changed and then if the artifact has changed, redownload it. sbt configures all -SNAPSHOT dependencies to be changing.
See the "Changes in artifacts" section of https://ant.apache.org/ivy/history/trunk/concept.html for full details.
- Definition Classes
- ModuleIDExtra
-
def
classifier(c: String): ModuleID
Adds a dependency on the artifact for this module with classifier
c
.Adds a dependency on the artifact for this module with classifier
c
.- Definition Classes
- ModuleIDExtra
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
configurations: Option[String]
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
cross(v: CrossVersion): ModuleID
Specifies the cross-version behavior for this module.
Specifies the cross-version behavior for this module. See [CrossVersion] for details. Unlike
withCrossVersion(...)
,cross(...)
will preserve the prefix and suffix values from the existingcrossVersion
value.ModuleID("com.example", "foo", "1.0") .cross(CrossVersion.binaryWith("sjs1_", "")) .cross(CrossVersion.for3Use2_13)
This allows
.cross(...)
to play well with%%%
operator provided by sbt-platform-deps.- Definition Classes
- ModuleIDExtra
-
val
crossVersion: CrossVersion
- Definition Classes
- ModuleID → ModuleIDExtra
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- ModuleID → AnyRef → Any
-
def
exclude(org: String, name: String): ModuleID
Excludes the dependency with organization
org
andname
from being introduced by this dependency during resolution.Excludes the dependency with organization
org
andname
from being introduced by this dependency during resolution.- Definition Classes
- ModuleIDExtra
-
def
excludeAll(rules: syntax.ExclusionRule*): ModuleID
Applies the provided exclusions to dependencies of this module.
Applies the provided exclusions to dependencies of this module. Note that only exclusions that specify both the exact organization and name and nothing else will be included in a pom.xml.
- Definition Classes
- ModuleIDExtra
-
val
exclusions: Vector[InclExclRule]
- Definition Classes
- ModuleID → ModuleIDExtra
-
val
explicitArtifacts: Vector[Artifact]
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
extra(attributes: (String, String)*): ModuleID
Adds extra attributes for this module.
Adds extra attributes for this module. All keys are prefixed with
e:
if they are not already so prefixed. This information will only be published in an ivy.xml and not in a pom.xml.- Definition Classes
- ModuleIDExtra
-
val
extraAttributes: Map[String, String]
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
extraDependencyAttributes: Map[String, String]
Returns the extra attributes except for ones marked as information only (ones that typically would not be used for dependency resolution).
Returns the extra attributes except for ones marked as information only (ones that typically would not be used for dependency resolution).
- Definition Classes
- ModuleIDExtra
-
def
extraString: String
String representation of the extra attributes, excluding any information only attributes.
String representation of the extra attributes, excluding any information only attributes.
- Definition Classes
- ModuleIDExtra
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
force(): ModuleID
Indicates that conflict resolution should only select this module's revision.
Indicates that conflict resolution should only select this module's revision. This prevents a newer revision from being pulled in by a transitive dependency, for example.
- Definition Classes
- ModuleIDExtra
-
def
from(url: String, allowInsecureProtocol: Boolean): ModuleID
Specifies a URL from which the main artifact for this dependency can be downloaded.
Specifies a URL from which the main artifact for this dependency can be downloaded. This value is only consulted if the module is not found in a repository. It is not included in published metadata.
- Definition Classes
- ModuleIDExtra
-
def
from(url: String): ModuleID
Specifies a URL from which the main artifact for this dependency can be downloaded.
Specifies a URL from which the main artifact for this dependency can be downloaded. This value is only consulted if the module is not found in a repository. It is not included in published metadata.
- Definition Classes
- ModuleIDExtra
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- ModuleID → AnyRef → Any
-
val
inclusions: Vector[InclExclRule]
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
intransitive(): ModuleID
Do not follow dependencies of this module.
Do not follow dependencies of this module. Synonym for
notTransitive
.- Definition Classes
- ModuleIDExtra
-
val
isChanging: Boolean
- Definition Classes
- ModuleID → ModuleIDExtra
-
val
isForce: Boolean
- Definition Classes
- ModuleID → ModuleIDExtra
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isTransitive: Boolean
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
jar(): ModuleID
Declares a dependency on the main artifact.
Declares a dependency on the main artifact. This is implied by default unless artifacts are explicitly declared, such as when adding a dependency on an artifact with a classifier.
- Definition Classes
- ModuleIDExtra
-
def
javadoc(): ModuleID
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the
update-classifiers
task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc" classifier. If you want to also depend on the main artifact, be sure to also calljar()
or usewithJavadoc()
instead.- Definition Classes
- ModuleIDExtra
-
val
name: String
- Definition Classes
- ModuleID → ModuleIDExtra
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
notTransitive(): ModuleID
Do not follow dependencies of this module.
Do not follow dependencies of this module. Synonym for
intransitive
.- Definition Classes
- ModuleIDExtra
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
organization: String
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
pomOnly(): ModuleID
- Definition Classes
- ModuleIDExtra
-
val
revision: String
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
sources(): ModuleID
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the
update-classifiers
task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "sources" classifier. If you want to also depend on the main artifact, be sure to also calljar()
or usewithSources()
instead.- Definition Classes
- ModuleIDExtra
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ModuleID → AnyRef → Any
-
def
toStringImpl: String
- Attributes
- protected
- Definition Classes
- ModuleIDExtra
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withBranchName(branchName: Option[String]): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
- def withConfigurations(configurations: Option[String]): ModuleID
-
def
withCrossVersion(crossVersion: CrossVersion): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withExclusions(exclusions: Vector[InclExclRule]): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withExplicitArtifacts(explicitArtifacts: Vector[Artifact]): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withExtraAttributes(extraAttributes: Map[String, String]): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
- def withInclusions(inclusions: Vector[InclExclRule]): ModuleID
-
def
withIsChanging(isChanging: Boolean): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withIsForce(isForce: Boolean): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withIsTransitive(isTransitive: Boolean): ModuleID
- Definition Classes
- ModuleID → ModuleIDExtra
-
def
withJavadoc(): ModuleID
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the
update-classifiers
task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc" classifier. If there is not already an explicit dependency on the main artifact, this adds one.- Definition Classes
- ModuleIDExtra
- def withName(name: String): ModuleID
- def withOrganization(organization: String): ModuleID
- def withRevision(revision: String): ModuleID
-
def
withSources(): ModuleID
Not recommended for new use.
Not recommended for new use. This method is not deprecated, but the
update-classifiers
task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "sources" classifier. If there is not already an explicit dependency on the main artifact, this adds one.- Definition Classes
- ModuleIDExtra