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

updated rosjava catkin_create process.

parent a30c643b
No related branches found
No related tags found
No related merge requests found
This is not installed, but it gets used to generate the gradle wrapper for a project.
It is currently the gradle wrapper supporting gradle 1.9.
\ No newline at end of file
It is currently the gradle wrapper supporting gradle 2.2.1
#Wed Mar 19 17:27:39 KST 2014
#Wed Feb 11 20:39:17 KST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip
......@@ -15,7 +15,7 @@
*/
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
gradleVersion = '2.2.1'
}
buildscript {
......
......@@ -15,26 +15,11 @@
*/
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
gradleVersion = '2.2.1'
}
buildscript {
def rosMavenPath = "$System.env.ROS_MAVEN_PATH".split(':').collect { 'file://' + it }
def rosMavenRepository = "$System.env.ROS_MAVEN_REPOSITORY"
repositories {
rosMavenPath.each { p ->
maven {
url p
}
}
mavenLocal()
maven {
url rosMavenRepository
}
}
dependencies {
classpath group: 'org.ros.rosjava_bootstrap', name: 'gradle_plugins', version: '[0.1,0.2)'
}
apply from: "https://github.com/rosjava/rosjava_bootstrap/raw/indigo/buildscript.gradle"
}
apply plugin: 'catkin'
......@@ -51,10 +36,22 @@ allprojects {
subprojects {
/*
See https://github.com/rosjava/rosjava_bootstrap (look for gradle_plugins)
to see what is going on under the hood.
* The ros plugin configures a few things:
*
* - local deployment repository : where it dumps the jars and packaged artifacts)
* - local maven repositories : where it finds your locally installed/built artifacts)
* - external maven repositories : where it goes looking if it can't find dependencies locally
*
* To modify, or add repos to the default external maven repositories list, pull request against this code:
*
* https://github.com/rosjava/rosjava_bootstrap/blob/indigo/gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy#L31
*/
apply plugin: "ros-java"
/*
* Some IDE support if you use it.
*/
apply plugin: 'ros-java'
/* apply plugin: "eclipse" */
/* apply plugin: "idea" */
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment