Skip to content

Commit 8f79fc2

Browse files
committed
fix ci issue
1 parent 260b778 commit 8f79fc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

publishing-plugins/src/main/kotlin/mvn-publish.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ tasks.getByName("publishToSonatype") {
130130
dependsOn("publish")
131131
}
132132

133-
tasks.getByName("publishTestPublicationToSonatypeRepository") {
134-
dependsOn("publish")
133+
tasks.whenTaskAdded {
134+
if (name.startsWith("publishTestPublicationTo")) {
135+
dependsOn("bundleReleaseAar")
136+
}
135137
}
136138

0 commit comments

Comments
 (0)