Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rosjava Bootstrap Gradle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
ROS Java Packages
Rosjava Bootstrap Gradle
Commits
743e9801
Commit
743e9801
authored
10 years ago
by
talregev
Browse files
Options
Downloads
Patches
Plain Diff
clean buildscript.gradle
add maven.gradle for other projects use maven repoistories.
parent
1b90302a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
buildscript.gradle
+27
-30
27 additions, 30 deletions
buildscript.gradle
maven.gradle
+35
-0
35 additions, 0 deletions
maven.gradle
with
62 additions
and
30 deletions
buildscript.gradle
+
27
−
30
View file @
743e9801
...
...
@@ -17,7 +17,6 @@
rootProject
.
buildscript
{
String
rosMavenPath
=
System
.
getenv
(
"ROS_MAVEN_PATH"
)
String
rosMavenRepository
=
System
.
getenv
(
"ROS_MAVEN_REPOSITORY"
)
repositories
{
if
(
rosMavenPath
!=
null
)
{
rosMavenPath
.
tokenize
(
":"
).
each
{
path
->
...
...
@@ -38,14 +37,12 @@ rootProject.buildscript {
maven
{
url
rosMavenRepository
}
}
else
{
}
maven
{
url
"https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
}
mavenCentral
()
}
dependencies
{
classpath
"org.ros.rosjava_bootstrap:gradle_plugins:[0.2,0.3)"
}
...
...
This diff is collapsed.
Click to expand it.
maven.gradle
0 → 100644
+
35
−
0
View file @
743e9801
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
()
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment