diff --git a/solr/packaging/build.gradle b/solr/packaging/build.gradle index d30b065ce8b..88956390770 100644 --- a/solr/packaging/build.gradle +++ b/solr/packaging/build.gradle @@ -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