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

use ROS_MAVEN_REPOSITORY

parent 3c44d463
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ task wrapper(type: Wrapper) { ...@@ -20,6 +20,7 @@ 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"
repositories { repositories {
rosMavenPath.each { p -> rosMavenPath.each { p ->
maven { maven {
...@@ -28,7 +29,7 @@ buildscript { ...@@ -28,7 +29,7 @@ buildscript {
} }
mavenLocal() mavenLocal()
maven { maven {
url 'https://github.com/rosjava/rosjava_mvn_repo/raw/master' url rosMavenRepository
} }
} }
dependencies { dependencies {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment