We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d814ad commit d28da6cCopy full SHA for d28da6c
build.gradle
@@ -120,6 +120,7 @@ allprojects {
120
121
def printAllReleasedArtifacts = project.tasks.create('printAllReleasedArtifacts')
122
project.snapshot.configure { finalizedBy printAllReleasedArtifacts }
123
+project.tasks.named("build").configure { finalizedBy printAllReleasedArtifacts }
124
subprojects {
125
apply plugin: 'java-library'
126
@@ -185,7 +186,6 @@ subprojects {
185
186
file("${project.rootProject.buildDir}/versions.txt").append("${project.group}:${project.name}:${snapshotVersion}" + '\n')
187
}
188
- printReleasedArtifact.dependsOn(project.rootProject.snapshot)
189
printAllReleasedArtifacts.dependsOn("${project.path}:printReleasedArtifact")
190
191
0 commit comments