I am getting more into Gradle ! I have three projects which sit in the same folder and are related, but they are separate Gradle projects. I want to provide a convention plugin for these projects.
Say, the projects are proj-app
, proj-schema
and proj-helpers
. proj-app
has sub projects and there is another folder extra
(with other stuff inside).
So the folder structure is like this:
root-folder
|
+-- proj-app
| |
| +-- app-part-a
| | |
| | ...
| | |
| | +-- build.gradle
| |
| +-- app-part-b
| | |
| | ...
| | |
| | +-- build.gradle
| |
| +-- build.gradle
|
+-- proj-schema
| |
| ...
| |
| +-- build.gradle
|
+-- proj-helpers
| |
| ...
| |
| +-- build.gradle
|
+-- extra
Where does the convention plugin folder buildSrc
have to go, so that I can use it in all 3 Gradle projects proj-app
, proj-schema
and `proj-helpers?
I would love to put the plugin folder buildSrc
inside the (non-gradle) extra
directory (for source control reasons). Is this possible?
Many thanks for any pointers!