Skip to content

Commit

Permalink
replace left shift operator with doLast block
Browse files Browse the repository at this point in the history
the left shift operator is deprecated since Gradle 3.2 and was removed from Gradle 5. With the left shift operator, controlsfx will not build using Gradle 5.
  • Loading branch information
martinfrancois committed Jul 20, 2019
1 parent cf8e209 commit b750637
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Expand Up @@ -74,8 +74,10 @@ subprojects {
}

// Used in Travis
task getVersion << {
println "$project.version"
task getVersion {
doLast {
println "$project.version"
}
}

}

0 comments on commit b750637

Please sign in to comment.