Skip to content

Commit ba56bbe

Browse files
committed
Merge branch '3.3.x'
Closes gh-42983
2 parents 0b4dc7b + bffde82 commit ba56bbe

File tree

1 file changed

+12
-0
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-tools

1 file changed

+12
-0
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,15 @@ compileJava {
8989
options.compilerArgs += ['-Xlint:-sunapi', '-XDenableSunApiLintControl']
9090
}
9191
}
92+
93+
plugins.withType(EclipsePlugin) {
94+
eclipse {
95+
classpath.file { merger ->
96+
merger.beforeMerged { content ->
97+
if (content instanceof org.gradle.plugins.ide.eclipse.model.Classpath) {
98+
content.entries.add(new org.gradle.plugins.ide.eclipse.model.SourceFolder("build/generated-resources/main", "bin/main"))
99+
}
100+
}
101+
}
102+
}
103+
}

0 commit comments

Comments
 (0)