Skip to content

Commit be6e88f

Browse files
committed
Skip signing when publishing to mavenlocal
1 parent 8690cc8 commit be6e88f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ subprojects {
127127
}
128128

129129
signing {
130+
// Skip signing if publishing to mavenLocal and credentials are not available
131+
// so that jitpack works correctly
132+
required { !gradle.taskGraph.hasTask("publishToMavenLocal") }
130133
sign publishing.publications.mavenJava
131134
}
132135

jitpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
install:
2-
- ./gradlew publishToMavenLocal --info --no-daemon
2+
- ./gradlew build publishToMavenLocal --info --no-daemon

0 commit comments

Comments
 (0)