-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Gradle 4.10
-
-
0.28.0
I'm using Gradle 4.10 with the Jenkins JPI plug-in to build my plugins.
Today I noticed the following deprecation warning on my command line:
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: 'jenkins.PluginSubtypeMarker' and 'org.kohsuke.wpc.ProcessorImpl' and 'org.kohsuke.stapler.jsr269.ConstructorProcessor' and 'org.kohsuke.stapler.jsr269.ExportedBeanAnnotationProcessor' and 'org.kohsuke.stapler.jsr269.QueryParameterAnnotationProcessor' and 'org.jvnet.hudson.annotation_indexer.AnnotationProcessorImpl' and 'net.java.sezpoz.impl.Indexer'. 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.
I'm not sure what should be done to make sure that Gradle 5.0 can also be used in the future, but I'm opening up this issue and hoping that someone else does know what should be done.