diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 688f723c..47bebf91 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -77,6 +77,6 @@ jobs: ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USER }} ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.SONATYPE_PASSWORD }} with: - arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository + arguments: publishToSonatype dependencies-cache-enabled: true configuration-cache-enabled: true diff --git a/build.gradle b/build.gradle index ec8d1a5c..0e27b7e7 100644 --- a/build.gradle +++ b/build.gradle @@ -35,6 +35,7 @@ ext { configure(project.coreProjects) { apply plugin: 'java' + apply plugin: 'signing' apply plugin: 'maven' apply plugin: 'maven-publish' apply from: "${rootDir}/publishing.gradle" diff --git a/publishing.gradle b/publishing.gradle index 8cf737fc..b9e204f6 100644 --- a/publishing.gradle +++ b/publishing.gradle @@ -44,6 +44,10 @@ artifacts { archives javadocJar } +signing { + sign publishing.publications +} + publishing { publications { mavenJava(MavenPublication) {