I am new to creating gradle. I have several java projects that depend, and I am looking for best practice to organize them in subversion so that I can go into CI.
Dependencies:
ProjectA - [client1, manager, base] ProjectB - [client2, manager, base]
base - [model] model - [core]
I am currently doing the release of dependencies and manual version folding in the build.gradle file of the source projects and release. Can anyone advise me on best practices in such scenarios. Where it would be easy to end up with CI.
Thanks in advance.
Below is the structure of my svn
|--ProjectA //WAR artifact
| |--trunk
| | |--src
| | |--build.gradle
| |
| |--branches
| | |--
| |
| |--tags
| | |--releaseCandidates
| | | |--0.0.1
| | | |--0.0.2
| | |
| | |--releases
| | | |--0.0.2
|
|--ProjectB //WAR artifact
| |--trunk
| | |--src
| | |--build.gradle
| |
| |--branches
| | |--
| |
| |--tags
| | |--releaseCandidates
| | | |--0.0.1
| | | |--0.0.2
| | |
| | |--releases
| | | |--0.0.2
|
|--common
| |
| |--core //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2
| |
| |--model //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2
| |
| |--base //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2
| |
| |--manager //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2
| |
| |--client1 //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2
| |
| |--client2 //Jar artifact
| | |--trunk
| | | |--src
| | | |--build.gradle
| | |
| | |--branches
| | | |--
| | |
| | |--tags
| | | |--releaseCandidates
| | | | |--0.0.1
| | | | |--0.0.2
| | | |
| | | |--releases
| | | | |--0.0.2