Plugin signing

This commit is contained in:
Jakub Chrzanowski
2021-07-26 23:01:02 +02:00
committed by Jakub Chrzanowski
parent 423c1654d8
commit 45d1bc5c9c
10 changed files with 152 additions and 64 deletions

View File

@@ -42,8 +42,6 @@ changelog {
groups.set(emptyList())
}
// Configure UI tests plugin
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
tasks {
// Set the JVM compatibility versions
properties("javaVersion").let {
@@ -86,6 +84,8 @@ tasks {
ideVersions.set(properties("pluginVerifierIdeVersions").split(',').map(String::trim).filter(String::isNotEmpty))
}
// Configure UI tests plugin
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
runIdeForUiTests {
systemProperty("robot-server.port", "8082")
systemProperty("ide.mac.message.dialogs.as.sheets", "false")
@@ -93,6 +93,12 @@ tasks {
systemProperty("jb.consents.confirmation.enabled", "false")
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN"))