2

I am new to gradle and am trying to create a directory layout as such in netbeans:

myproject
    |
|-- ear
    |-- build.gradle
    |-- ...
|-- core
    |-- build.gradle
    |-- ...
|-- web
    |-- build.gradle
    |-- include core project as dependency for this project
    |-- ...
|-- settings.gradle // has include "ear", "core", "web"

I cant find a way to do this, in Google. Can anyone help me? Thanks in advance

1 Answer 1

3

Create these files on disk and open the project in NetBeans. I assume you have a plugin with Gradle support installed. I think there are no such wizards to guide you through multi-project build setup.

If you have Gradle downloaded and installed you can take a look at bundled samples (in samples folder).

1
  • 2
    Agree with @Radim, there is no wizard to guide through the multiproject build. Also in netbeans when you open a gradle multi-project, it just shows you the root project; You need to expand "Subprojects" item in project navigator and then right click on desired subproject you want to open and select "Open <project>" button. Commented Nov 25, 2014 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.