mirror of https://github.com/apache/lucene.git
LUCENE-10192: Move the test framework to a separate top-level folder. I'm not even sure it really needs to be in the binary distribution but it is distinctively different from the rest of the modules.
This commit is contained in:
parent
fda47a24f8
commit
39d388330c
|
@ -27,6 +27,7 @@ configure(project(":lucene:distribution")) {
|
|||
docs
|
||||
|
||||
jars
|
||||
jarsTestFramework
|
||||
}
|
||||
|
||||
dependencies { DependencyHandler handler ->
|
||||
|
@ -36,9 +37,9 @@ configure(project(":lucene:distribution")) {
|
|||
// (with a few exceptions explicitly filtered below).
|
||||
// We don't copy their transitive dependencies.
|
||||
def binaryModules = rootProject.ext.mavenProjects.findAll { p -> !(p in [
|
||||
// Will end up in a separate binary?
|
||||
// Will end up in a separate binary
|
||||
project(":lucene:luke"),
|
||||
// NOCOMMIT: Currently breaks the module system so excluded for now.
|
||||
// Placed in a separate module folder.
|
||||
project(":lucene:test-framework"),
|
||||
]) }
|
||||
for (Project module : binaryModules) {
|
||||
|
@ -46,6 +47,12 @@ configure(project(":lucene:distribution")) {
|
|||
transitive = false
|
||||
})
|
||||
}
|
||||
|
||||
// The test framework has split packages and breaks the module system layer so
|
||||
// it's in a separate folder.
|
||||
jarsTestFramework(project(":lucene:test-framework"), {
|
||||
transitive = false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
@ -92,6 +99,9 @@ configure(project(":lucene:distribution")) {
|
|||
from(configurations.jars, {
|
||||
into 'jars'
|
||||
})
|
||||
from(configurations.jarsTestFramework, {
|
||||
into 'test-framework'
|
||||
})
|
||||
|
||||
// Internal archive folder for all files.
|
||||
into "lucene-${rootProject.version}/"
|
||||
|
|
Loading…
Reference in New Issue