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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
ROS Java Packages
Rosjava Bootstrap Gradle
Commits
c6e92651
Commit
c6e92651
authored
11 years ago
by
Daniel Stonier
Browse files
Options
Downloads
Patches
Plain Diff
maven deployment path -> maven deployment repository.
parent
562a8a5d
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
build.gradle
+3
-3
3 additions, 3 deletions
build.gradle
gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy
+5
-5
5 additions, 5 deletions
...s/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy
with
8 additions
and
8 deletions
build.gradle
+
3
−
3
View file @
c6e92651
...
@@ -20,7 +20,7 @@ task wrapper(type: Wrapper) {
...
@@ -20,7 +20,7 @@ task wrapper(type: Wrapper) {
project
.
ext
{
project
.
ext
{
/* the ros plugin defines this, but since we're building the plugin... */
/* the ros plugin defines this, but since we're building the plugin... */
rosMavenDeployment
Path
=
"$System.env.ROS_MAVEN_DEPLOYMENT_
PATH
"
rosMavenDeployment
Repository
=
"$System.env.ROS_MAVEN_DEPLOYMENT_
REPOSITORY
"
rosMavenPath
=
"$System.env.ROS_MAVEN_PATH"
.
split
(
':'
)
rosMavenPath
=
"$System.env.ROS_MAVEN_PATH"
.
split
(
':'
)
}
}
...
@@ -49,10 +49,10 @@ subprojects {
...
@@ -49,10 +49,10 @@ subprojects {
url
'https://github.com/rosjava/rosjava_mvn_repo/raw/master'
url
'https://github.com/rosjava/rosjava_mvn_repo/raw/master'
}
}
}
}
if
(
project
.
rosMavenDeployment
Path
!=
'null'
&&
project
.
rosMavenDeployment
Path
!=
''
)
{
if
(
project
.
rosMavenDeployment
Repository
!=
'null'
&&
project
.
rosMavenDeployment
Repository
!=
''
)
{
uploadArchives
{
uploadArchives
{
repositories
.
mavenDeployer
{
repositories
.
mavenDeployer
{
repository
(
url:
'file://'
+
project
.
rosMavenDeployment
Path
)
repository
(
url:
'file://'
+
project
.
rosMavenDeployment
Repository
)
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy
+
5
−
5
View file @
c6e92651
...
@@ -8,7 +8,7 @@ import org.gradle.api.*;
...
@@ -8,7 +8,7 @@ import org.gradle.api.*;
* Provides information about the ros workspace.
* Provides information about the ros workspace.
*
*
* - project.ros.mavenPath : location of local ros maven repositories (in your chained workspaces)
* - project.ros.mavenPath : location of local ros maven repositories (in your chained workspaces)
* - project.ros.mavenDeployment
Path
: location of the ros maven repository you will publish to
* - project.ros.mavenDeployment
Repository
: location of the ros maven repository you will publish to
*
*
* It also performs the following actions
* It also performs the following actions
*
*
...
@@ -27,11 +27,11 @@ class RosPlugin implements Plugin<Project> {
...
@@ -27,11 +27,11 @@ class RosPlugin implements Plugin<Project> {
/* Create project.ros.* property extensions */
/* Create project.ros.* property extensions */
project
.
extensions
.
create
(
"ros"
,
RosPluginExtension
)
project
.
extensions
.
create
(
"ros"
,
RosPluginExtension
)
project
.
ros
.
mavenPath
=
"$System.env.ROS_MAVEN_PATH"
.
split
(
':'
)
project
.
ros
.
mavenPath
=
"$System.env.ROS_MAVEN_PATH"
.
split
(
':'
)
project
.
ros
.
mavenDeployment
Path
=
"$System.env.ROS_MAVEN_DEPLOYMENT_
PATH
"
project
.
ros
.
mavenDeployment
Repository
=
"$System.env.ROS_MAVEN_DEPLOYMENT_
REPOSITORY
"
if
(
project
.
ros
.
mavenDeployment
Path
!=
'null'
&&
project
.
ros
.
mavenDeployment
Path
!=
''
)
{
if
(
project
.
ros
.
mavenDeployment
Repository
!=
'null'
&&
project
.
ros
.
mavenDeployment
Repository
!=
''
)
{
project
.
uploadArchives
{
project
.
uploadArchives
{
repositories
.
mavenDeployer
{
repositories
.
mavenDeployer
{
repository
(
url:
'file://'
+
project
.
ros
.
mavenDeployment
Path
)
repository
(
url:
'file://'
+
project
.
ros
.
mavenDeployment
Repository
)
}
}
}
}
}
}
...
@@ -56,5 +56,5 @@ class RosPlugin implements Plugin<Project> {
...
@@ -56,5 +56,5 @@ class RosPlugin implements Plugin<Project> {
class
RosPluginExtension
{
class
RosPluginExtension
{
List
<
String
>
mavenPath
List
<
String
>
mavenPath
String
mavenDeployment
Path
String
mavenDeployment
Repository
}
}
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