MavenDownloads class

Configuration for dependencies to be downloaded using maven.

Dependency names should be listed in groupId:artifactId:version format. For sourceDeps, sources will be unpacked to sourceDir root and JAR files will also be downloaded. For the packages in jarOnlyDeps, only JAR files will be downloaded.

When passed as a parameter to Config, the downloaded sources and JAR files will be automatically added to source path and class path respectively.

Constructors

MavenDownloads({List<String> sourceDeps = const [], String sourceDir = defaultMavenSourceDir, List<String> jarOnlyDeps = const [], String jarDir = defaultMavenJarDir})

Properties

hashCode int
The hash code for this object.
no setterinherited
jarDir String
getter/setter pair
jarOnlyDeps List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceDeps List<String>
getter/setter pair
sourceDir String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultMavenJarDir → const String
defaultMavenSourceDir → const String