Skip to content

Commit

Permalink
build.gradle: upgrade shadow plugin to 4.0.4
Browse files Browse the repository at this point in the history
The current shadow plugin we are using is 2.0.3, which is incompatible
with Gradle 5.2.1 and gives the error below when running shadowJar
task:

    Method com/github/jengelman/gradle/plugins/shadow/internal/DependencyFileCollection.getBuildDependencies()Lorg/gradle/api/tasks/TaskDependency; is abstract

As we are planning to upgrade to Gradle 5.2.1, let's upgrade the shadow
plugin to its latest version that still supports Gradle 4.x, version 4.0.4, to
solve the problem[1].

[1] GradleUp/shadow#447
  • Loading branch information
fzdy1914 committed Mar 3, 2019
1 parent 121b135 commit f207718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
id 'jacoco'
id 'checkstyle'
id 'com.github.kt3k.coveralls' version '2.4.0'
id 'com.github.johnrengelman.shadow' version '2.0.3'
id 'com.github.johnrengelman.shadow' version '4.0.4'
id 'org.asciidoctor.convert' version '1.5.6'
id 'application'
}
Expand Down

0 comments on commit f207718

Please sign in to comment.