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/01/03 13:46:39 UTC

[lucene-solr] branch gradle-master updated: Move intiial environment checks to buildSrc so that they happen before any other script has a chance to evaluate.

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

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


The following commit(s) were added to refs/heads/gradle-master by this push:
     new 363f2e3  Move intiial environment checks to buildSrc so that they happen before any other script has a chance to evaluate.
363f2e3 is described below

commit 363f2e36547775cd12e7fca2f992764d56b99a90
Author: Dawid Weiss <dw...@apache.org>
AuthorDate: Fri Jan 3 14:46:29 2020 +0100

    Move intiial environment checks to buildSrc so that they happen before any other script has a chance to evaluate.
---
 build.gradle          | 3 ---
 buildSrc/build.gradle | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index 9d6797f..ed230e1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,9 +11,6 @@ allprojects {
   version = "9.0.0-SNAPSHOT"
 }
 
-// Make sure the build environment is consistent.
-apply from: file('gradle/validation/check-environment.gradle')
-
 // Include smaller chunks configuring dedicated build areas.
 // Some of these intersect or add additional functionality.
 // The order of inclusion of these files shouldn't matter (but may
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
new file mode 100644
index 0000000..fa0f802
--- /dev/null
+++ b/buildSrc/build.gradle
@@ -0,0 +1,3 @@
+
+// Make sure the build environment is consistent.
+apply from: file('../gradle/validation/check-environment.gradle')