Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:catkin_migration [2014/09/05 13:13] – [Run dependencies when calling Java from Prolog] admindoc:catkin_migration [2014/09/05 13:14] – [JAR files and build dependencies] admin
Line 41: Line 41:
 ==== JAR files and build dependencies ==== ==== JAR files and build dependencies ====
 Rosjava is now based on Maven that 'magically' maintains jar files for dependendies. The following snippet explains how dependencies are specified in the build.gradle of the respective subproject: Rosjava is now based on Maven that 'magically' maintains jar files for dependendies. The following snippet explains how dependencies are specified in the build.gradle of the respective subproject:
 +<code java>
     dependencies {     dependencies {
       /* Dependency on a rosjava project in the same catkin package */        /* Dependency on a rosjava project in the same catkin package */ 
Line 52: Line 52:
       compile 'net.sf.json-lib:json-lib:2.4:jdk15'       compile 'net.sf.json-lib:json-lib:2.4:jdk15'
     }     }
 +</code>
 You can use the service at http://gradleplease.appspot.com/ to generate the lines to be put into the build.gradle You can use the service at http://gradleplease.appspot.com/ to generate the lines to be put into the build.gradle