SOLR-14759: correct build logic.

This commit is contained in:
Dawid Weiss 2021-03-08 15:04:20 +01:00
parent 409bc37c13
commit b591daad38
1 changed files with 8 additions and 6 deletions

View File

@ -72,6 +72,7 @@ configure(rootProject) {
if (!skipSolr) {
dependsOn ':solr:documentation:assemble'
if (skipLucene) {
doFirst {
// Sanity check doc. version vs. actual version.
def actualLuceneVersion = getVersion("org.apache.lucene", "lucene-core").replace('.', '_')
@ -82,6 +83,7 @@ configure(rootProject) {
}
}
}
}
assemble.dependsOn documentation
}