Skip to content

Commit 117736d

Browse files
authored
fix: enable publish to maven local
Add support for JitPack's usage of `publishToMavenLocal`
1 parent 6adb730 commit 117736d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
// Usage: ./gradlew clean build publish -PmavenUsername=***** -PmavenPassword=*****
3636
publishing {
3737
publications {
38-
utils(MavenPublication) {
38+
release(MavenPublication) {
3939
groupId 'ai.elimu.content_provider'
4040
artifactId 'utils'
4141
version '1.2.28-SNAPSHOT'
@@ -49,3 +49,7 @@ publishing {
4949
}
5050
}
5151
}
52+
53+
tasks.named("publishReleasePublicationToMavenLocal") {
54+
mustRunAfter(":utils:bundleReleaseAar")
55+
}

0 commit comments

Comments
 (0)