This repository was archived by the owner on Jan 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
gradle_plugins/src/main/groovy/org/ros/gradle_plugins Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ project.ext {
22
22
/* the ros plugin defines this, but since we're building the plugin... */
23
23
rosMavenDeploymentRepository = " $System . env . ROS_MAVEN_DEPLOYMENT_REPOSITORY "
24
24
rosMavenPath = " $System . env . ROS_MAVEN_PATH " . split(' :' )
25
+ rosMavenRepository = " $System . env . ROS_MAVEN_REPOSITORY "
25
26
}
26
27
27
28
allprojects {
@@ -47,7 +48,7 @@ subprojects {
47
48
}
48
49
mavenLocal()
49
50
maven {
50
- url ' https://github.com/rosjava/rosjava_mvn_repo/raw/master '
51
+ url project . rosMavenRepository
51
52
}
52
53
}
53
54
if ( project. rosMavenDeploymentRepository != ' null' && project. rosMavenDeploymentRepository != ' ' ) {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class RosPlugin implements Plugin<Project> {
28
28
project. extensions. create(" ros" , RosPluginExtension )
29
29
project. ros. mavenPath = " $System . env . ROS_MAVEN_PATH " . split(' :' )
30
30
project. ros. mavenDeploymentRepository = " $System . env . ROS_MAVEN_DEPLOYMENT_REPOSITORY "
31
+ project. ros. mavenRepository = " $System . env . ROS_MAVEN_REPOSITORY "
31
32
/*
32
33
* Could use some better handling for when this is not defined as it sets
33
34
* file://null, but it doesn't seem to hurt the process any
@@ -41,7 +42,7 @@ class RosPlugin implements Plugin<Project> {
41
42
}
42
43
mavenLocal()
43
44
maven {
44
- url ' https://github.com/rosjava/rosjava_mvn_repo/raw/master '
45
+ url project . ros . mavenRepository
45
46
}
46
47
mavenCentral()
47
48
}
You can’t perform that action at this time.
0 commit comments