Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub org secrets #143

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
30 changes: 15 additions & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -73,7 +73,7 @@ dependencies {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion = JavaLanguageVersion.of(11)
}
withJavadocJar()
withSourcesJar()
Expand Down