Skip to content
Snippets Groups Projects
Commit 8ad2688d authored by Daniel Stonier's avatar Daniel Stonier
Browse files

should be able to use the plugin solely now, refs #46.

parent d2626ab5
No related branches found
No related tags found
No related merge requests found
rootProject.allprojects {
String rosMavenPath = System.getenv("ROS_MAVEN_PATH")
String rosMavenRepository = System.getenv("ROS_MAVEN_REPOSITORY")
repositories {
if (rosMavenPath != null) {
rosMavenPath.tokenize(":").each { path ->
//noinspection GroovyAssignabilityCheck
maven {
// We can't use uri() here because we aren't running inside something
// that implements the Script interface.
url "file:${path}"
}
}
}
//noinspection GroovyAssignabilityCheck
maven {
url "http://repository.springsource.com/maven/bundles/release"
}
//noinspection GroovyAssignabilityCheck
maven {
url "http://repository.springsource.com/maven/bundles/external"
}
if (rosMavenRepository != null) {
//noinspection GroovyAssignabilityCheck
maven {
url rosMavenRepository
}
}
//noinspection GroovyAssignabilityCheck
maven {
url "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
mavenCentral()
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment