Open
Description
Hi,
I'm working on an upgrade of the spotless plugin gradle from 5.16.0 to the latest (7.0.2).
I have this error when running the spotlessGroovyGradle
task:
Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching, org.eclipse.jdt.launching.macosx]
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.commons.logging.LogFactory needed by org.apache.commons.commons-logging
Missing required capability osgi.serviceloader:osgi.serviceloader=org.apache.juli.logging.Log needed by org.mortbay.jasper.apache-jsp
Missing required capability osgi.extender:osgi.extender=osgi.serviceloader.processor needed by org.mortbay.jasper.apache-jsp
Recommend setting osgi.configuration.area to a directory, getDataFile will return null
I have made a sample project from a fresh spring boot project, the source code can be found here and the error in this output. I also made test on Ubuntu and MacOS and the problem is the same.
I have check there issues but it didn't work:
- Missing required bundle org.eclipse.jdt.debug needed by [org.eclipse.jdt.launching] - spotless version 6.25.0 #2089
- Regression in gradle plugin 6.21 to 6.22 (spotlessGroovyGradle fails with Missing required bundle org.eclipse.jdt.debug) #1860
i.e.: the format.gradle file is on a separate file because in my case it's hosted on a central repository.