From 438299b90c11a3753bbe2b1c2e5fb86dc6c42c42 Mon Sep 17 00:00:00 2001 From: Shane Myrick Date: Fri, 24 Jan 2020 15:00:03 -0800 Subject: [PATCH] Set gradle prop to fix release process (#579) There is a bug with Gradle 6 and Nexus 2 currently that we can fix by setting a systemProp. See here for more info: https://github.com/gradle/gradle/issues/11308 --- gradle.properties | 3 +++ gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index f34a47cc0..272f21fc5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,6 +5,9 @@ version = 2.0.0-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true +# See https://github.com/gradle/gradle/issues/11308 +systemProp.org.gradle.internal.publish.checksums.insecure=true + # dependencies kotlinVersion = 1.3.60 kotlinCoroutinesVersion = 1.3.3 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 94920145f..ba94df845 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists