mirror of https://github.com/apache/lucene.git
LUCENE-9077: add a :solr:packaging:dev task that assembles a 'development' image of Solr from which nothing is removed upon consecutive rebuild.
This commit is contained in:
parent
7279190c89
commit
f865c8af83
|
@ -25,6 +25,7 @@ plugins {
|
|||
|
||||
ext {
|
||||
distDir = file("$buildDir/solr-${version}")
|
||||
devDir = file("$buildDir/dev")
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
@ -108,5 +109,13 @@ task toDir(type: Sync) {
|
|||
}
|
||||
}
|
||||
|
||||
task dev(type: Copy) {
|
||||
description "Assemble Solr distribution into 'development' folder at ${devDir}"
|
||||
group "build"
|
||||
|
||||
from toDir.outputs
|
||||
into devDir
|
||||
}
|
||||
|
||||
assemble.dependsOn toDir
|
||||
|
||||
|
|
Loading…
Reference in New Issue