Skip to content

Commit 437d006

Browse files
committed
v7.15.0
1 parent a186d0e commit 437d006

File tree

6 files changed

+15
-47
lines changed

6 files changed

+15
-47
lines changed

build.gradle

Lines changed: 13 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,24 @@
1616
buildscript {
1717
repositories {
1818
mavenCentral()
19-
maven {
20-
name 'sonatype-snapshots'
21-
url "https://oss.sonatype.org/content/repositories/snapshots/"
22-
}
23-
jcenter()
2419
}
2520
dependencies {
26-
classpath "org.elasticsearch.gradle:build-tools:7.12.1"
27-
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
21+
classpath "org.elasticsearch.gradle:build-tools:7.15.0"
2822
}
2923
}
3024

3125
apply plugin: 'java'
3226
apply plugin: 'elasticsearch.esplugin'
33-
apply plugin: 'com.jfrog.bintray'
27+
apply plugin: 'elasticsearch.yaml-rest-test'
3428

3529
repositories {
36-
maven {
37-
name 'bintray-babayotakun-russianmorphology'
38-
url "https://dl.bintray.com/babayotakun/russianmorphology"
39-
}
4030
flatDir {
4131
dirs 'libs'
4232
}
33+
mavenCentral()
4334
}
4435

45-
version = '7.12.1'
36+
version = '7.15.0'
4637

4738
esplugin {
4839
description 'English and Russian Morphology for ElasticSearch.'
@@ -53,43 +44,19 @@ esplugin {
5344
}
5445
esplugin.version = version
5546

56-
dependencies {
57-
compile "org.apache.lucene.morphology:russian:1.5"
58-
compile "org.apache.lucene.morphology:english:1.5"
59-
compile "org.apache.lucene.morphology:morph:1.5"
47+
configurations {
48+
yamlRestTestRuntimeOnly.extendsFrom testRuntimeOnly
49+
restTestSpecs
6050
}
6151

62-
// publishing {
63-
// publications {
64-
// DefaultPublication(MavenPublication) {
65-
// groupId 'org.elasticsearch'
66-
// artifactId 'elasticsearch-analysis-morphology'
67-
// from components.java
68-
// artifact javadocJar
69-
// artifact sourcesJar
70-
// artifact bundlePlugin
71-
// }
72-
// }
73-
// }
74-
75-
76-
// Only needed if we publish to bintray
77-
if (project.hasProperty('bintrayUser')) {
78-
79-
bintray {
80-
user = project.property('bintrayUser')
81-
key = project.property('bintrayApiKey')
82-
pkg {
83-
repo = 'elasticsearch-plugins'
84-
name = 'elasticsearch-analysis-morphology'
85-
}
86-
publications = ['DefaultPublication']
87-
}
52+
dependencies {
53+
testRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.11.1'
54+
yamlRestTestRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.11.1'
55+
implementation "org.apache.lucene.morphology:russian:1.5"
56+
implementation "org.apache.lucene.morphology:english:1.5"
57+
implementation "org.apache.lucene.morphology:morph:1.5"
8858
}
8959

90-
// TODO: temporary workaround until it's fixed in elasticsearch
91-
validateNebulaPom.enabled = false
92-
9360
project.licenseFile = project.rootProject.file('LICENSE.txt')
9461
project.noticeFile = project.rootProject.file('NOTICE.txt')
9562

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.gradle.jvmargs='-Dfile.encoding=UTF-8'

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
1+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStorePath=wrapper/dists

src/test/java/org/elasticsearch/plugin/analysis/morphology/AnalysisMorphologyRestIT.java renamed to src/yamlRestTest/java/org/elasticsearch/plugin/analysis/morphology/AnalysisMorphologyRestIT.java

File renamed without changes.

src/test/resources/rest-api-spec/test/analysis-morphology/10_analyze.yml renamed to src/yamlRestTest/resources/rest-api-spec/test/analysis-morphology/10_analyze.yml

File renamed without changes.

src/test/resources/rest-api-spec/test/analysis-morphology/5_plugin_version.yml renamed to src/yamlRestTest/resources/rest-api-spec/test/analysis-morphology/5_plugin_version.yml

File renamed without changes.

0 commit comments

Comments
 (0)