Skip to content

Commit

Permalink
Work-around issues with Gradle Shadow Plugin
Browse files Browse the repository at this point in the history
So that we can `./gradlew install`

Having source and java doc jars disabled is ok until we
release.

See:

GradleUp/shadow#361

GradleUp/shadow#452
  • Loading branch information
msgilligan committed Mar 26, 2019
1 parent 9b2f5de commit 799b647
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cj-btc-daemon-mn/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion consensusj-jsonrpc-daemon/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 5 additions & 2 deletions gradle/bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 799b647

Please sign in to comment.