ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

External dependencies with rosjava

asked 2012-05-16 05:35:15 -0600

Markus Eich gravatar image

Dear all, I am a bit confused with the new gradle build system. In the old version of rosjava, I could define my dependencies on external jars within the Manifest file with something like

        <rosjava-pathelement location="/home/eich/workspace/Cylinder_Reasoner/cylinderreasoner.jar" />

This was than included into the auto-generated property files. How can I set my dependencies with the new gradle build system? The corresponding jar files of the libs are in the main folder of the package. Any Ideas?

Cheers, Markus

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-21 06:03:33 -0600

damonkohler gravatar image

I suggest going through the Gradle Java tutorial:

Dependencies should either be pulled from a remote repository or built and installed to your local repository.

edit flag offensive delete link more


Yes. Thank you. Just found it. I can simplye call the dependencies with "compile files" tag. This includes also jars which are not in a repository.

Markus Eich gravatar image Markus Eich  ( 2012-05-21 06:11:20 -0600 )edit

Could you please post an example of how you did it Markus? Thanks

uzair gravatar image uzair  ( 2014-01-18 19:45:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-05-16 05:35:15 -0600

Seen: 769 times

Last updated: May 21 '12