Let’s say I have such Gradle multi module projects:
project1:
module A (build.gradle)
module B (build.gradle)
project2:
module C (build.gradle) -> uses project1:moduleA
module D (build.gradle) -> uses project1:moduleB
project3: bundles modules A, B, C, D into one tar archive which is to be deployed.
modules A, B, C, D - they all are published into Artifactory as a central repository setup. if let’s say I change module A, then there is a bit of overhead to publish it to Artifactory first before being able to bundle the whole project locally and see if everything works, also other developers can grab something that is not working as expected. I know Gradle doesn’t support publishing to local repos. So should I use Maven publishing to local repo or I’m doing things wrong here with Gradle and maybe I should think about restructuring everything? Could u please point to some resource on how to solve that with Gradle capabilities?
I meant something like Maven local repo… when you can say mvn install and get artifact on your local machine. I know I can use mavenLocal() repo, just wanted to clarify if that is the right solution
Is this a standard actually for Gradle to publish everything to local maven repo or more like a ‘workaround’ in my situation? What would u recommend in my particular case via existing capabilities (while composite build support is on it’s way)?