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 2021/04/12 18:19:21 UTC
[lucene] branch main updated: LUCENE-9914: remove stale file.
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 3f3917d LUCENE-9914: remove stale file.
3f3917d is described below
commit 3f3917d504a960cf90469a31ad6cd2ba1d27f791
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Mon Apr 12 20:19:14 2021 +0200
LUCENE-9914: remove stale file.
---
gradle/generation/unicode-props.gradle | 87 ----------------------------------
1 file changed, 87 deletions(-)
diff --git a/gradle/generation/unicode-props.gradle b/gradle/generation/unicode-props.gradle
deleted file mode 100644
index 467e0c1..0000000
--- a/gradle/generation/unicode-props.gradle
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-def resources = scriptResources(buildscript)
-
-configure(rootProject) {
- configurations {
- icu_62
- icu_68
- }
-
- dependencies {
- icu_62 "com.ibm.icu:icu4j:62.2"
- icu_68 "com.ibm.icu:icu4j:68.2"
- }
-
- // Exclude ICU config from palantir's version unification.
- versionRecommendations {
- excludeConfigurations "icu_68", "icu_62"
- }
-}
-
-// Regenerates UnicodeProps.java
-configure(project(":lucene:analysis:common")) {
- task generateUnicodeProps() {
- def icuConfig = rootProject.configurations.icu_68
- def outputFile = file("src/java/org/apache/lucene/analysis/util/UnicodeProps.java")
-
- dependsOn icuConfig
- outputs.file outputFile
-
- doFirst {
- project.javaexec {
- main "groovy.lang.GroovyShell"
- classpath icuConfig, rootProject.configurations.groovy
-
- args = [
- "--encoding", "UTF-8",
- file("${resources}/GenerateUnicodeProps.groovy"),
- outputFile
- ]
- }
- }
- }
-
- regenerate.dependsOn wrapWithPersistentChecksums(generateUnicodeProps, [ andThenTasks: "spotlessApply" ])
-}
-
-configure(project(":lucene:core")) {
- task generateEmojiProperties() {
- def icuConfig = rootProject.configurations.icu_62
- def outputFile = file("src/data/jflex/UnicodeEmojiProperties.jflex")
-
- dependsOn icuConfig
- outputs.file outputFile
-
- doFirst {
- println icuConfig.files
- project.javaexec {
- main "groovy.lang.GroovyShell"
- classpath icuConfig, rootProject.configurations.groovy
-
- args = [
- "--encoding", "UTF-8",
- file("${resources}/GenerateEmojiProperties.groovy"),
- outputFile
- ]
- }
- }
- }
-
- regenerate.dependsOn wrapWithPersistentChecksums(generateEmojiProperties)
-}
\ No newline at end of file