Skip to content

Commit

Permalink
build: Fix Gradle build
Browse files Browse the repository at this point in the history
This error was caused by build pipelines using an up-to-date version of
Gradle. See https://stackoverflow.com/a/56503680/11963 for more
information.
  • Loading branch information
hangy committed Oct 29, 2019
1 parent 9beb57e commit d5deb46
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ dependencies {
compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.1'
}

task listJars << {
configurations.compile.each { File file -> println file.name }
task listJars {
doLast {
configurations.compile.each { File file -> println file.name }
}
}

jar {
Expand Down

0 comments on commit d5deb46

Please sign in to comment.