Slackbot
05/01/2023, 8:07 PMVampire
05/02/2023, 7:59 AMbuild
directory. Each of the publications has its own output directory. I'd expect the tasks to run in parallel with CC.Adam
05/02/2023, 8:01 AMPublishToMavenRepository
tasks that are doing that
publishing {
repositories {
maven(file("build/custom-maven-repo")) {
name = "LocalDir"
}
}
}
Vampire
05/02/2023, 8:02 AMbuild
Adam
05/02/2023, 8:03 AMAdam
05/02/2023, 8:04 AMbuild/custom-maven-repo
directoryAdam
05/02/2023, 8:06 AMVampire
05/02/2023, 9:06 AMooh you mean nested within theExactly, the output directories for the actual tasks aredirectorybuild/custom-maven-repo
build/custom-maven-repo/foo/foo.gradle.plugin
, build/custom-maven-repo/foo/bar.gradle.plugin
, and build/custom-maven-repo/com/example/mycode/
.
but what happens if the publications have outputs that might overlap? (Which Gradle will print warnings about). Will Gradle detect this and decide the tasks won’t run in parallel?I don't know, but I also don't know what you mean. How could there be an overlap? Every artifact has its own publish task. Only problem I could imagine is if you have different artifacts with the same coordinates, but that would mean your build simply is misconfigured.
Adam
05/02/2023, 12:43 PMHow could there be an overlap?yeah, through misconfiguration
Vampire
05/02/2023, 12:54 PMAdam
05/02/2023, 7:17 PMVampire
05/02/2023, 10:08 PM