You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2020/04/12 14:25:51 UTC

[lucene-solr] branch master updated: LUCENE-9077: add a :solr:packaging:dev task that assembles a 'development' image of Solr from which nothing is removed upon consecutive rebuild.

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new f865c8a  LUCENE-9077: add a :solr:packaging:dev task that assembles a 'development' image of Solr from which nothing is removed upon consecutive rebuild.
f865c8a is described below

commit f865c8af83e07434719e7355b9d7a110ca299bfd
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Sun Apr 12 16:25:39 2020 +0200

    LUCENE-9077: add a :solr:packaging:dev task that assembles a 'development' image of Solr from which nothing is removed upon consecutive rebuild.
---
 solr/packaging/build.gradle | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/solr/packaging/build.gradle b/solr/packaging/build.gradle
index d30b065..8895639 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