From b337e83e75179fab224b654665e2de2ee260be1c Mon Sep 17 00:00:00 2001 From: Alexey Timin Date: Wed, 21 Aug 2024 11:45:16 +0200 Subject: [PATCH] sign artefacts --- .github/workflows/ci.yml | 1 + build.gradle | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c4c10f..98858eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,7 @@ jobs: env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_ARMORED_KEY }} steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 diff --git a/build.gradle b/build.gradle index b2a9ff6..686147a 100644 --- a/build.gradle +++ b/build.gradle @@ -46,8 +46,9 @@ import com.vanniktech.maven.publish.SonatypeHost mavenPublishing { publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) + signAllPublications() - coordinates(archivesBaseName, archivesBaseName, version) + coordinates(group, archivesBaseName, version) pom { name = archivesBaseName description = "ReductStore Client SDK for Java" @@ -64,5 +65,16 @@ mavenPublishing { connection = "scm:git:git://github.com/reductstore/reduct-java.git" developerConnection = "scm:git:ssh://github.com/reductstore/reduct-java.git" } + developers { + developer { + id = "Rumpelshtinskiy" + name = "Rustam Galikhanov" + } + developer { + id = "reductsoftware" + name = "ReductSoftware UG" + email = "info@reduct.store" + } + } } } \ No newline at end of file