object Parse
- Alphabetic
- By Inheritance
- Parse
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class ModuleParseError extends Exception
-
case class
ModuleRequirements(globalExcludes: Set[(String, String)] = Set(), localExcludes: Map[String, Set[(String, String)]] = Map(), defaultConfiguration: String = "default(compile)") extends Product with Serializable
Data holder for additional info that needs to be considered when parsing the module.
Data holder for additional info that needs to be considered when parsing the module.
- globalExcludes
global excludes that need to be applied to all modules
- localExcludes
excludes to be applied to specific modules
- defaultConfiguration
default configuration
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
module(s: String, defaultScalaVersion: String): Either[String, core.Module]
Parses a module like org:name possibly with attributes, like org:name;attr1=val1;attr2=val2
Parses a module like org:name possibly with attributes, like org:name;attr1=val1;attr2=val2
Two semi-columns after the org part is interpreted as a scala module. E.g. if
defaultScalaVersionis"2.11.x", org::name:ver is equivalent to org:name_2.11:ver. -
def
moduleVersion(s: String, defaultScalaVersion: String): Either[String, (core.Module, String)]
Parses coordinates like org:name:version possibly with attributes, like org:name;attr1=val1;attr2=val2:version
-
def
moduleVersionConfig(s: String, req: ModuleRequirements, transitive: Boolean, defaultScalaVersion: String): Either[String, (Dependency, Map[String, String])]
Parses coordinates like org:name:version with attributes, like org:name:version,attr1=val1,attr2=val2 and a configuration, like org:name:version:config or org:name:version:config,attr1=val1,attr2=val2
Parses coordinates like org:name:version with attributes, like org:name:version,attr1=val1,attr2=val2 and a configuration, like org:name:version:config or org:name:version:config,attr1=val1,attr2=val2
Currently only the "classifier" and "url attributes are used, and others throw errors.
-
def
moduleVersionConfigs(l: Seq[String], req: ModuleRequirements, transitive: Boolean, defaultScalaVersion: String): (Seq[String], Seq[(Dependency, Map[String, String])])
Parses a sequence of coordinates having an optional configuration.
Parses a sequence of coordinates having an optional configuration.
- returns
Sequence of errors, and sequence of modules / versions / optional configurations
-
def
moduleVersions(l: Seq[String], defaultScalaVersion: String): (Seq[String], Seq[(core.Module, String)])
Parses a sequence of coordinates.
Parses a sequence of coordinates.
- returns
Sequence of errors, and sequence of modules / versions
-
def
modules(l: Seq[String], defaultScalaVersion: String): (Seq[String], Seq[core.Module])
Parses a sequence of coordinates.
Parses a sequence of coordinates.
- returns
Sequence of errors, and sequence of modules/versions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def repository(s: String): Either[String, core.Repository]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )