From 799b647471d541a26909a1968172672a4257356e Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Mon, 25 Mar 2019 18:56:19 -0700 Subject: [PATCH] Work-around issues with Gradle Shadow Plugin So that we can `./gradlew install` Having source and java doc jars disabled is ok until we release. See: https://github.com/johnrengelman/shadow/issues/361 https://github.com/johnrengelman/shadow/issues/452 --- cj-btc-daemon-mn/build.gradle | 2 +- consensusj-jsonrpc-daemon/build.gradle | 2 +- gradle/bintray.gradle | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cj-btc-daemon-mn/build.gradle b/cj-btc-daemon-mn/build.gradle index 3165924c4..15f47428c 100644 --- a/cj-btc-daemon-mn/build.gradle +++ b/cj-btc-daemon-mn/build.gradle @@ -1,6 +1,6 @@ plugins { id "io.spring.dependency-management" version "1.0.6.RELEASE" - id "com.github.johnrengelman.shadow" version "4.0.2" + id "com.github.johnrengelman.shadow" version "4.0.4" id "application" id "net.ltgt.apt-eclipse" version "0.21" id "net.ltgt.apt-idea" version "0.21" diff --git a/consensusj-jsonrpc-daemon/build.gradle b/consensusj-jsonrpc-daemon/build.gradle index bf8c6639d..1da85fa10 100644 --- a/consensusj-jsonrpc-daemon/build.gradle +++ b/consensusj-jsonrpc-daemon/build.gradle @@ -1,6 +1,6 @@ plugins { id "io.spring.dependency-management" version "1.0.6.RELEASE" - id "com.github.johnrengelman.shadow" version "4.0.2" + id "com.github.johnrengelman.shadow" version "4.0.4" id "application" id "net.ltgt.apt-eclipse" version "0.21" id "net.ltgt.apt-idea" version "0.21" diff --git a/gradle/bintray.gradle b/gradle/bintray.gradle index 7acf4f8b5..b6612b67b 100644 --- a/gradle/bintray.gradle +++ b/gradle/bintray.gradle @@ -14,8 +14,11 @@ allprojects { } artifacts { - archives sourceJar - archives javadocJar + // For some reason the next two lines need to be commented-out to work around + // an incompatibility between application and shadow plugin 4.0.4 that arises + // when trying to do a `gradle install` +// archives sourceJar +// archives javadocJar } publishing {