Slackbot
05/01/2022, 5:20 PMJavi
05/01/2022, 5:58 PMtasks.register("publishAll") {
group = "publishing"
description = "Publish all submodules at once."
dependsOn(subprojects.filter {
it.childProjects.isEmpty()
}.map {
"${it.path}:buildAndPublish"
}).finalizedBy("closeAndReleaseSonatypeStagingRepository")
}Javi
05/01/2022, 5:58 PMJavi
05/01/2022, 5:59 PMpublishToSonatype at the root project already publish all projects to sonatypeJavi
05/01/2022, 5:59 PMPierre Ayfri
05/01/2022, 6:14 PMpublishToSonatype during the gradle actionJavi
05/01/2022, 8:29 PMpublishToSonatype in GitHub directly to check if the problem persistsPierre Ayfri
05/01/2022, 10:55 PMJavi
05/01/2022, 11:48 PMJavi
05/01/2022, 11:49 PMrepository.stagingProfileId.set(
"${target.properties["oss.stagingProfileId"] ?: System.getenv("OSS_STAGING_PROFILE_ID")}",
)Javi
05/01/2022, 11:49 PMJavi
05/01/2022, 11:49 PMJavi
05/01/2022, 11:50 PM• `oss.stagingProfileId`: Visit staging profiles select your profile from the list and copy the code after the, for example, the code from this url;is<https://oss.sonatype.org/#stagingProfiles;32gf35h34654>32gf35h34654
Pierre Ayfri
05/03/2022, 3:13 PMJavi
05/03/2022, 4:02 PMrepository.stagingProfileId.set(here)Pierre Ayfri
05/03/2022, 4:23 PMPierre Ayfri
05/05/2022, 6:43 PM:publishToSonatype from my custom task buildAndPublish doesn't work because gradle can't find the task x_xJavi
05/05/2022, 8:11 PMbuild publishToSonatypePierre Ayfri
05/05/2022, 8:45 PMPierre Ayfri
05/05/2022, 8:45 PM