This repository was archived by the owner on Jan 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-26
lines changed Expand file tree Collapse file tree 1 file changed +20
-26
lines changed Original file line number Diff line number Diff line change 14
14
* the License.
15
15
*/
16
16
17
- buildscript {
18
- def rosMavenPath = System . getenv(" ROS_MAVEN_PATH" )
19
- def rosMavenRepository = System . getenv(" ROS_MAVEN_REPOSITORY" )
17
+ String rosMavenPath = System . getenv(" ROS_MAVEN_PATH" )
18
+ String rosMavenRepository = System . getenv(" ROS_MAVEN_REPOSITORY" )
20
19
21
- repositories {
22
- if (rosMavenPath != null ) {
23
- rosMavenPath. tokenize(" :" ). each { path ->
24
- maven {
25
- url uri(path)
26
- }
20
+ repositories {
21
+ if (rosMavenPath != null ) {
22
+ rosMavenPath. tokenize(" :" ). each { path ->
23
+ maven {
24
+ url uri(path)
27
25
}
28
26
}
29
- mavenLocal()
27
+ }
28
+ mavenLocal()
29
+ maven {
30
+ url " http://repository.springsource.com/maven/bundles/release"
31
+ }
32
+ maven {
33
+ url " http://repository.springsource.com/maven/bundles/external"
34
+ }
35
+ if (rosMavenRepository != null ) {
30
36
maven {
31
- url " http://repository.springsource.com/maven/bundles/release "
37
+ url rosMavenRepository
32
38
}
39
+ } else {
33
40
maven {
34
- url " http ://repository.springsource. com/maven/bundles/external "
41
+ url " https ://github. com/rosjava/rosjava_mvn_repo/raw/master "
35
42
}
36
- if (rosMavenRepository != null ) {
37
- maven {
38
- url rosMavenRepository
39
- }
40
- } else {
41
- maven {
42
- url " https://github.com/rosjava/rosjava_mvn_repo/raw/master"
43
- }
44
- }
45
- mavenCentral()
46
- }
47
-
48
- dependencies {
49
- classpath group : " org.ros.rosjava_bootstrap" , name : " gradle_plugins" , version : " 0.2.0"
50
43
}
44
+ mavenCentral()
51
45
}
You can’t perform that action at this time.
0 commit comments