Hi, guys.

My name is Ashi and I'm pretty new at all this rosjava stuff. I'm currently trying to use rosjava master branch with Trusty and Android Studio 0.6.1.

While trying to create a new android pkg with this very basic command example:
catkin_create_android_pkg android_foo android_apps android_extras rosjava_core

I found this error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android_foo'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find org.codehaus.groovy:groovy-all:2.2.0.
Required by:
:android_foo:unspecified > org.ros.rosjava_bootstrap:gradle_plugins:0.2.0


After messing around I basically looked for groovy-all:2.2.0 in Maven Central and it was right there!
In order to make the example above work, I changed the template located in <rosjava/src/rosjava_build_tools/src/rosjava_build_tools/templates/android_package> adding the line mavenCentral() and it worked.
I don't really know if this fix is ok or if it's too drastic. 

My fork with the changes I've made: GitHub.

Let me know if you think this is a good approach or I need to do something different.

Thanks for your time,


A
​shi​

-----
If you're geek, check my blog out: cydiaforandroid.blogspot.com
If you like eating, check my blog out: ashy-on-line.blogspot.com