why did my 'gradle build' command fail to build my package? [closed]

asked 2013-02-22 04:31:07 -0600

brock gravatar image

Hello and thanks in advance for the answer...

I am new to ros and rosjava and unbuntu and gradle (newbie) and I am going through the getting started guide to build my first rosjava package with the end result of wanting it to be compiled inside eclipse.

here is the instructions I was following: docs.rosjava.googlecode.com/hg/rosjava_core/html/getting_started.html

when I came across a problem after running the 'gradle build' command.... brock@brock-900HD:~/my_workspace/rosjava_core/mypack$ gradle eclipse

FAILURE: Build failed with an exception.

  • Where: Build file '/home/brock/my_workspace/rosjava_core/mypack/build.gradle' line: 20

  • What went wrong: A problem occurred evaluating root project 'mypack'. Cause: Could not find method maven() for arguments [build_2g199guo4bc6qi1jt74aim0je8$_run_closure1_closure3@18ef117] on root project 'mypack'.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 2.276 secs

I used the build.gradle example file in the tutorial

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-28 02:50:09.302163