I am migrating my project to use Multi-project structure . Currently I am using Gradle-4.2.1. When I configure the gradle throws below exception
Exception:
FAILURE: Build failed with an exception.
What went wrong: Could not normalize path for file 'D:\User\Project2:Subproject1'.
The filename, directory name, or volume label syntax is incorrect
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
CONFIGURE FAILED in 0s
My project structure
-root -Project1 -build.gradle
-buildProject
-build.gradle
-settings.gradle
-Project2
-build.gradle
-Subproject1
-build.gradle
-Subproject2
-build.gradle
-Project3
-build.gradle
Below is the settings.gradle looks like
includeFlat 'Project1' includeFlat 'Project2' includeFlat 'Project2:Subproject1' includeFlat 'Project2:Subproject2' includeFlat 'Project3'
I have below questions.
Am I am using correct gradle version (supports multi-project structure)? Is My project structure correct? Any other changes needed to in the settings.gradle to build the project successfully?