[JIRA] (JENKINS-58592) Detecting annotation processors on the compile classpath has been deprecated (Gradle 5.0)

0 views
Skip to first unread message

arno@90a.nl (JIRA)

unread,
Jul 22, 2019, 2:49:02 AM7/22/19
to jenkinsc...@googlegroups.com
Arno Moonen created an issue
 
Jenkins / Improvement JENKINS-58592
Detecting annotation processors on the compile classpath has been deprecated (Gradle 5.0)
Issue Type: Improvement Improvement
Assignee: Steve Hill
Components: gradle-jpi-plugin
Created: 2019-07-22 06:48
Environment: Gradle 4.10
Priority: Minor Minor
Reporter: Arno Moonen

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sghill.dev@gmail.com (JIRA)

unread,
Jul 30, 2019, 7:04:02 PM7/30/19
to jenkinsc...@googlegroups.com

sghill.dev@gmail.com (JIRA)

unread,
Jul 30, 2019, 7:05:02 PM7/30/19
to jenkinsc...@googlegroups.com
Steve Hill resolved as Fixed
 
Change By: Steve Hill
Status: Open Resolved
Resolution: Fixed
Released As: 0.28.0
Reply all
Reply to author
Forward
0 new messages