From 04911f259de7d5dcc613c1c5cb65bc7118c25d1b Mon Sep 17 00:00:00 2001 From: Ledina Hido-Evans Date: Fri, 12 Jun 2020 13:37:26 +0100 Subject: [PATCH 1/2] Bump gradle publish timeouts for Sonatype Signed-off-by: Ledina Hido-Evans --- .travis/script.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis/script.sh b/.travis/script.sh index 3b6f25d..803bf42 100755 --- a/.travis/script.sh +++ b/.travis/script.sh @@ -4,6 +4,8 @@ set -x # If this is a master build then publish if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then ./gradlew \ + -Dorg.gradle.internal.http.connectionTimeout=120000 \ + -Dorg.gradle.internal.http.socketTimeout=120000 \ -Dorg.gradle.project.signing.keyId="$GPG_KEY_NAME" \ -Dorg.gradle.project.signing.password="$GPG_PASSPHRASE" \ -Dorg.gradle.project.signing.secretKeyRingFile="$GPG_SECRET_KEYRING_FILE" \ From fea272cdde4c353f9f8cf2cf22eb9664a51dc2a1 Mon Sep 17 00:00:00 2001 From: Ledina Hido-Evans Date: Fri, 12 Jun 2020 13:46:43 +0100 Subject: [PATCH 2/2] Bump gradle plugin-publish version to 0.12.0 Required when publishing plugins to the Plugin Portal due to CVE-2020-7599 Signed-off-by: Ledina Hido-Evans --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index cd81135..882cdc2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ plugins { id("groovy") id("java-gradle-plugin") id("maven-publish") - id("com.gradle.plugin-publish") version "0.10.1" + id("com.gradle.plugin-publish") version "0.12.0" id("signing") `kotlin-dsl` }