diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 95e20c9..8654c25 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,8 +20,8 @@ jobs: run: ./gradlew check - name: Publish to Maven Central env: - ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGN_KEY }} - ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGN_KEY_PASS }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository diff --git a/build.gradle.kts b/build.gradle.kts index c1af1cd..3740e3c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,41 +18,41 @@ plugins { } plugins.withId("com.hivemq.version-updater") { - project.ext.set("versionUpdaterFiles", arrayOf("README.adoc")) + project.ext["versionUpdaterFiles"] = arrayOf("README.adoc") } group = "com.hivemq" description = "SDK for the development of HiveMQ extensions" metadata { - readableName.set("HiveMQ Extension SDK") + readableName = "HiveMQ Extension SDK" organization { - name.set("HiveMQ GmbH") - url.set("https://www.hivemq.com/") + name = "HiveMQ GmbH" + url = "https://www.hivemq.com/" } license { apache2() } developers { register("cschaebe") { - fullName.set("Christoph Schaebel") - email.set("christoph.schaebel@hivemq.com") + fullName = "Christoph Schaebel" + email = "christoph.schaebel@hivemq.com" } register("lbrandl") { - fullName.set("Lukas Brandl") - email.set("lukas.brandl@hivemq.com") + fullName = "Lukas Brandl" + email = "lukas.brandl@hivemq.com" } register("flimpoeck") { - fullName.set("Florian Limpoeck") - email.set("florian.limpoeck@hivemq.com") + fullName = "Florian Limpoeck" + email = "florian.limpoeck@hivemq.com" } register("sauroter") { - fullName.set("Georg Held") - email.set("georg.held@hivemq.com") + fullName = "Georg Held" + email = "georg.held@hivemq.com" } register("SgtSilvio") { - fullName.set("Silvio Giebl") - email.set("silvio.giebl@hivemq.com") + fullName = "Silvio Giebl" + email = "silvio.giebl@hivemq.com" } } github { @@ -73,7 +73,7 @@ dependencies { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion = JavaLanguageVersion.of(11) } withJavadocJar() withSourcesJar()