ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Could not find method group() for arguments [ros.rosjava_core]

asked 2012-05-08 08:49:18 -0600

santidoo gravatar image

Hi,

I'm trying to install the rosjava_core with the "gradle install", but I'm getting the next error:

FAILURE: Build failed with an exception.

  • Where: Build file '/home/user/my_workspace/rosjava_core/build.gradle' line: 22

  • What went wrong: A problem occurred evaluating root project 'rosjava_core'.

    Cause: Could not find method group() for arguments [ros.rosjava_core] on root project 'rosjava_core'

In the build.gradle I have it: ... allprojects { group 'ros.rosjava_core' version = '0.0.0-SNAPSHOT' } ...

How should I configure that file? Any suggestion?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-10 05:41:29 -0600

damonkohler gravatar image

Maybe you're using the wrong version of gradle? You should execute the gradle wrapper (rosjava_core/gradlew). You should not need to modify rosjava_core/build.gradle.

edit flag offensive delete link more
0

answered 2013-04-27 22:09:20 -0600

Daniel Stonier gravatar image

I just hit the same problem. Ubuntu precise's gradle is only Milestone3, wheras rosjava and co. are all built around Milestone9.

Just be sure to use rosjava's gradlew script to create instead of the gradle binary itself.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-05-08 08:49:18 -0600

Seen: 1,870 times

Last updated: Apr 27 '13