Skip to content

Commit 5a7ba87

Browse files
authored
Merge pull request #28 from messente/travis
fix gradle publish plugin
2 parents c74b222 + 159ec5e commit 5a7ba87

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
ORG_GRADLE_PROJECT_mavenCentralPassword: $
1818
ORG_GRADLE_PROJECT_signingInMemoryKey: $
1919
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: $
20-
run: chmod +x ./gradlew && ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache --no-daemon
20+
run: chmod +x ./gradlew && ./gradlew publishAndReleaseToMavenCentral
2121

2222
on:
2323
push:

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ dependencies {
4444
}
4545

4646
import com.vanniktech.maven.publish.SonatypeHost
47+
4748
mavenPublishing {
48-
publishToMavenCentral(SonatypeHost.DEFAULT)
49+
publishToMavenCentral()
4950
signAllPublications()
5051

5152
pom {

0 commit comments

Comments
 (0)