gretty-gradle-plugin / gretty

Advanced gradle plugin for running web-apps on jetty and tomcat.
MIT License
129 stars 36 forks source link

Remove usage of deprecated WarPluginConvention #266

Open donat opened 2 years ago

donat commented 2 years ago

The property read here comes from the deprecatedWarPluginConvention

https://github.com/gretty-gradle-plugin/gretty/blob/caea8a96ab23259a644f4c0d7b1c694042bcb2ff/libs/gretty/src/main/groovy/org/akhikhl/gretty/ProjectUtils.groovy#L232

We'll soon add deprecation nagging for all usages, and later remove it. Work is tracked here (ZenHub extension needed).

f4lco commented 2 years ago

Thank you for brining this up, supposedly removing the usage is trivial.

donat commented 2 years ago

You can get the properties directly from the War task: https://docs.gradle.org/nightly/userguide/upgrading_version_7.html#war_convention_deprecation