devsoap / ds-gradle-vaadin

Gradle plugin for building Vaadin Flow 10/11/12/13/14/15 apps
https://devsoap.com/gradle-vaadin-flow-plugin
Other
36 stars 13 forks source link

Gradle 6 deprecation warnings #204

Closed johndevs closed 5 years ago

johndevs commented 5 years ago

When running the project with the latest Gradle 5.x there are some deprecation errors from yarnSetup:

$ gradle --rerun-tasks build

> Configure project :
Using Gradle Vaadin Flow Plugin 1.0.0-RC8
vaadin.version is not set, falling back to latest Vaadin version
Allow Vaadin to gather usage statistics by setting vaadin.submitStatistics=true (hide this message by setting it to false)

> Task :yarnSetup
/home/john/Workspaces/examples/helloworld/.gradle/yarn/yarn-v1.12.3/bin/yarn -> /home/john/Workspaces/examples/helloworld/.gradle/yarn/yarn-v1.12.3/lib/node_modules/yarn/bin/yarn.js
/home/john/Workspaces/examples/helloworld/.gradle/yarn/yarn-v1.12.3/bin/yarnpkg -> /home/john/Workspaces/examples/helloworld/.gradle/yarn/yarn-v1.12.3/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.12.3
updated 1 package in 0.227s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.0/userguide/command_line_interface.html#sec:command_line_warnings