-
Notifications
You must be signed in to change notification settings - Fork 0
Multiple Project Gradle Builds
Kristina edited this page Nov 8, 2017
·
1 revision
Setting up a multiple project build in Gradle is easy.
First add a blank file called build.gradle into your root folder. Then create a file called settings.gradle and add the following code to it:
include 'first project folder name','second project folder name'
Then in each project folder you should have a standard build.gradle file which is used to build each project in the project folder.
You can see an example of this here. TravisCI calls the build.gradle file which checks the settings.gradle file and finds that it needs to build the junit-demo and simple-junit-unit-test projects. So Gradle goes inside those folders and builds each project using the build.gradle file for each project.
Always Learning
- Home
- Websites
- Linux
- Java
- Gradle
- JUnit
- Database