MavenTools class

This class provides some utility methods to download a sources / jars using maven along with transitive dependencies.

Constructors

MavenTools()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

currentDir Directory
final

Static Methods

deps(List<String> depNames) List<MavenDependency>
Create a list of MavenDependency objects from maven coordinates in string form.
downloadMavenJars(List<MavenDependency> deps, String targetDir) Future<void>
Downloads JAR files of all deps transitively into targetDir.
downloadMavenSources(List<MavenDependency> deps, String targetDir) Future<void>
Downloads and unpacks source files of deps into targetDir.