LUCENE-9438: Add resources to the Eclipse classpath.

This commit is contained in:
Adrien Grand 2020-09-02 14:12:49 +02:00
parent a70a47d053
commit 7f68272575
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ configure(rootProject) {
projects.each { prj -> projects.each { prj ->
prj.sourceSets.each { sourceSet -> prj.sourceSets.each { sourceSet ->
sources += sourceSet.java.srcDirs.findAll { dir -> dir.exists() }.collect { dir -> relativize(dir) } sources += sourceSet.java.srcDirs.findAll { dir -> dir.exists() }.collect { dir -> relativize(dir) }
sources += sourceSet.resources.srcDirs.findAll { dir -> dir.exists() }.collect { dir -> relativize(dir) }
} }
// This is hacky - we take the resolved compile classpath and just // This is hacky - we take the resolved compile classpath and just