Closed leon closed 7 years ago
Yes, please wrap in doLast instead. It will avoid warnings during build when using the plugin. By the way, note that the two code samples are NOT identical - the description will be set at different times!
@leon The link points not to the correct page. Check this one: https://docs.gradle.org/3.2/release-notes#deprecations.
In gradle 3.2 they have deprecated the left shift operator of the task interface. https://docs.gradle.org/current/release-notes#deprecations
Should I simply do the same and wrap
ssh.run
withdoLast
or is there a cleaner way?