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

fallback to our maven repo url if not set.

parent c5dea7f4
Branches
Tags
No related merge requests found
...@@ -21,6 +21,9 @@ task wrapper(type: Wrapper) { ...@@ -21,6 +21,9 @@ task wrapper(type: Wrapper) {
buildscript { buildscript {
def rosMavenPath = "$System.env.ROS_MAVEN_PATH".split(':').collect { 'file://' + it } def rosMavenPath = "$System.env.ROS_MAVEN_PATH".split(':').collect { 'file://' + it }
def rosMavenRepository = "$System.env.ROS_MAVEN_REPOSITORY" def rosMavenRepository = "$System.env.ROS_MAVEN_REPOSITORY"
if ( rosMavenRepository == 'null' ) {
rosMavenRepository = "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
repositories { repositories {
rosMavenPath.each { p -> rosMavenPath.each { p ->
maven { maven {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment