Skip to content

Commit 9caac27

Browse files
committed
Add dependency on "bundleReleaseAar" task for publishing to OSSRH repository
This commit adds a dependency on the "bundleReleaseAar" task for the "publishMavenJavaPublicationToOSSRHRepository" task in the build.gradle file. This ensures that the AAR bundle is generated before publishing to the OSSRH repository.
1 parent eaac095 commit 9caac27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ publishing {
9595
}
9696
}
9797
}
98+
tasks.named("publishMavenJavaPublicationToOSSRHRepository") {
99+
dependsOn tasks.named("bundleReleaseAar")
100+
}

0 commit comments

Comments
 (0)