Building new rosjava package
I try to build a new ros package using rosjava. I followed the tutorial and stored my source code in the new package (i.e. /src/main/java/org/ros/reasoner/). Than I took the sample file for build.gradle
apply plugin: 'application'
mainClassName = 'org.ros.RosRun'
dependencies {
compile 'ros.rosjava_core:rosjava:0.0.0-SNAPSHOT'
}
When running my gradle with "gradle build" I get the following error.
:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find group:ros.rosjava_core, module:rosjava, version:0.0.0-SNAPSHOT.
Required by:
:rosjava_cylinder_reasoner:unspecified
rosjava was build according to the tutorial with gradlew install and all went right. What is wrong with my approach?
Cheers,
Markus