mkarneim / pojobuilder

A Java Code Generator for Pojo Builders
Other
334 stars 44 forks source link

Deprecated gradle feature #153

Closed Poeschl closed 8 months ago

Poeschl commented 5 years ago

In the latest gradle version (4.10.2) I get a warning about some depreciated methods inside the plugin. According to the warning it will be an breaker on Gradle 5.0.

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

With the suggested warning mode flag the following warning is displayed:

Detecting annotation processors on the compile classpath has been deprecated. Gradle 5.0 will ignore annotation processors on the compile classpath. The following annotation processors were detected on the compile classpath: 'net.karneim.pojobuilder.processor.AnnotationProcessor'.  Please add them to the annotation processor path instead. If you did not intend to use annotation processors, you can use the '-proc:none' compiler argument to ignore them.