Skip to content

Instantly share code, notes, and snippets.

@kekru
Last active September 22, 2023 14:28
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save kekru/40d0f0121b6326c931e53d82a8eb0b67 to your computer and use it in GitHub Desktop.
Save kekru/40d0f0121b6326c931e53d82a8eb0b67 to your computer and use it in GitHub Desktop.
IntelliJ Multiple Gradle Projects

Multiple Gradle projects in IntelliJ

This is how to open multiple gradle projects in a single IntelliJ window.

  • File -> New -> Project ... -> Empty Project
  • File -> Project Structure ... -> Modules -> Plus Sign -> Import Module
    • Choose your Module -> Import module from external model -> Gradle -> Next
    • Activate Checkbox: "Create separate module per source set"
    • Activate Radio: "Use gradle wrapper task configuration"
    • Finish
  • Repeat step two for every project
@hendisantika
Copy link

How to create multi module projects by using gradle?

@sopjanif
Copy link

How to create multi module projects by using gradle?

gradle init and then follow the steps

@donaldr
Copy link

donaldr commented Jun 19, 2023

The steps don't seem to lead to a multi module project. I must be missing something.

@fork52
Copy link

fork52 commented Jul 11, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment