1515 */
1616
1717task wrapper (type : Wrapper ) {
18- gradleVersion = ' 2.2 .1'
18+ gradleVersion = ' 2.14 .1'
1919}
2020
2121repositories {
@@ -24,11 +24,12 @@ repositories {
2424}
2525
2626buildscript {
27- apply from : " https://github.com/rosjava /rosjava_bootstrap/raw/indigo /buildscript.gradle"
27+ apply from : " https://github.com/CentralLabFacilities /rosjava_bootstrap/raw/kinetic /buildscript.gradle"
2828}
2929
3030apply plugin : ' catkin'
3131apply plugin : ' java'
32+ apply plugin : " ros-java"
3233
3334allprojects {
3435 /*
@@ -39,26 +40,17 @@ allprojects {
3940 version = project. catkin. pkg. version
4041}
4142
42- subprojects {
43- /*
44- * The ros plugin configures a few things:
45- *
46- * - local deployment repository : where it dumps the jars and packaged artifacts)
47- * - local maven repositories : where it finds your locally installed/built artifacts)
48- * - external maven repositories : where it goes looking if it can't find dependencies locally
49- *
50- * To modify, or add repos to the default external maven repositories list, pull request against this code:
51- *
52- * https://github.com/rosjava/rosjava_bootstrap/blob/indigo/gradle_plugins/src/main/groovy/org/ros/gradle_plugins/RosPlugin.groovy#L31
53- */
43+ dependencies {
44+ /* An external maven artifact dependency */
5445
55- apply plugin : " ros-java"
46+ compile ' org.ros.rosjava_core:rosjava:[0.2,0.3)'
47+ compile ' org.apache.directory.studio:org.apache.commons.logging:[1.1,1.2)'
48+ testCompile ' junit:junit:4.12'
5649
57- /*
58- * Some IDE support if you use it.
59- */
60- /* apply plugin: "eclipse" */
61- /* apply plugin: "idea" */
50+ /* Example of a local subproject dependency */
51+ /* compile project(':sibling_gradle_project') */
52+
53+ compile ' org.ros.rosjava_messages:actionlib_tutorials:[0.1,)'
6254}
6355
6456/*
0 commit comments