diff --git a/build.gradle.kts b/build.gradle.kts index d40ec29..4bdd192 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -108,14 +108,14 @@ tasks { } signPlugin { - certificateChain.set(System.getenv("CERTIFICATE_CHAIN")) - privateKey.set(System.getenv("PRIVATE_KEY")) - password.set(System.getenv("PRIVATE_KEY_PASSWORD")) + certificateChain.set(environment("CERTIFICATE_CHAIN")) + privateKey.set(environment("PRIVATE_KEY")) + password.set(environment("PRIVATE_KEY_PASSWORD")) } publishPlugin { dependsOn("patchChangelog") - token.set(System.getenv("PUBLISH_TOKEN")) + token.set(environment("PUBLISH_TOKEN")) // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more: // https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel