I have a gradle project that acts as a shared library for two other projects.
In two other projects, each of them has a built-in maven repository, for which I want the general project to be deployed.
I tried this:
uploadArchives {
repositories {
mavenDeployer {
repositories {
repository(url: '../../../project-web-service/repo')
repository(url: '../../../project-app/repo')
}
}
}
}
But it only unfolds in the second repo.
I read Configuring multiple upload repositories in gradle build , but it doesn't apply to mavenDeployer, so I'm stuck right now.
source
share