You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2019/06/02 15:39:17 UTC
[lucene-solr] 02/05: SOLR-13452: Don't run standard jflex tasks at
same time.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch jira/SOLR-13452_gradle_3
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 7089884295c7e0700155755e54082ab02a6f1383
Author: markrmiller <ma...@apache.org>
AuthorDate: Sun Jun 2 06:34:52 2019 -0500
SOLR-13452: Don't run standard jflex tasks at same time.
---
build.gradle | 2 ++
lucene/analysis/common/build.gradle | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/build.gradle b/build.gradle
index 3d48f29..46b90ff 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,6 +22,8 @@ plugins {
id "com.palantir.consistent-versions" version "1.8.0"
}
+buildDir = new File("build")
+
// define lucene-solr project lists that exclude buildSrc
def luceneSolrProjects = allprojects.findAll { project -> project.name != 'buildSrc'};
def luceneSolrSubProjects = subprojects.findAll { project -> project.name != 'buildSrc'}
diff --git a/lucene/analysis/common/build.gradle b/lucene/analysis/common/build.gradle
index 69cc292..d212691 100644
--- a/lucene/analysis/common/build.gradle
+++ b/lucene/analysis/common/build.gradle
@@ -86,6 +86,8 @@ task jflexWikiTokenizer(type: org.apache.lucene.gradle.JFlex) {
fileName = "WikipediaTokenizerImpl"
disableBufferExpansion = false
target = new File("${projectDir}/src/java/org/apache/lucene/analysis/wikipedia")
+
+ mustRunAfter project.rootProject.project(":lucene:lucene-core").runJflex
}
task jflexClassicAnalyzer(type: org.apache.lucene.gradle.JFlex) {
@@ -93,6 +95,8 @@ task jflexClassicAnalyzer(type: org.apache.lucene.gradle.JFlex) {
fileName = "ClassicTokenizerImpl"
disableBufferExpansion = false
target = new File("${projectDir}/src/java/org/apache/lucene/analysis/standard")
+
+ mustRunAfter project.rootProject.project(":lucene:lucene-core").runJflex
}
task jflexUAX29URLEmailTokenizer(type: org.apache.lucene.gradle.JFlex) {