public class DownloadUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IVY_SETTINGS_FILE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static URI[] |
downloadJar(Map<String,Object> artifactMap) |
static URI[] |
downloadJar(String org,
String module,
String version,
boolean transitive)
Download jar through
Grape given an org, module and version
It is assumed that an ivy settings file exists on the classpath |
static File |
getIvySettingsFile()
Get ivy settings file from classpath
|
public static final String IVY_SETTINGS_FILE_NAME
public static URI[] downloadJar(String org, String module, String version, boolean transitive) throws IOException
Grape given an org, module and version
It is assumed that an ivy settings file exists on the classpathIOExceptionpublic static URI[] downloadJar(Map<String,Object> artifactMap) throws IOException
IOExceptionpublic static File getIvySettingsFile() throws IOException
IOException