On a fresh Eclipse the following needs to be added to .settings/org.eclipse.jdt.core.prefs for buildSrc. We should try and automate that.
org.eclipse.jdt.core.compiler.ignoreUnnamedModuleForSplitPackage=enabled
Comment From: wilkinsona
I think you already tried that in https://github.com/spring-projects/spring-boot/commit/4aa4e14fa48a7224e7c5f9654874f08b3139c1d3. My guess is that the settings are getting clobbered by Java Format but that is just a guess. I tried doing this instead:
eclipse.jdt.file.whenMerged {
def properties = new Properties()
load(properties)
properties.setProperty("org.eclipse.jdt.core.compiler.ignoreUnnamedModuleForSplitPackage", "enabled")
store(properties)
}
It didn't work.
Comment From: philwebb
I thought I'd fixed it previously. I'm not sure why it stopped working.