Skip to content

Commit

Permalink
v7.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-st committed Sep 27, 2021
1 parent a186d0e commit 437d006
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 47 deletions.
59 changes: 13 additions & 46 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,24 @@
buildscript {
repositories {
mavenCentral()
maven {
name 'sonatype-snapshots'
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
jcenter()
}
dependencies {
classpath "org.elasticsearch.gradle:build-tools:7.12.1"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "org.elasticsearch.gradle:build-tools:7.15.0"
}
}

apply plugin: 'java'
apply plugin: 'elasticsearch.esplugin'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'elasticsearch.yaml-rest-test'

repositories {
maven {
name 'bintray-babayotakun-russianmorphology'
url "https://dl.bintray.com/babayotakun/russianmorphology"
}
flatDir {
dirs 'libs'
}
mavenCentral()
}

version = '7.12.1'
version = '7.15.0'

esplugin {
description 'English and Russian Morphology for ElasticSearch.'
Expand All @@ -53,43 +44,19 @@ esplugin {
}
esplugin.version = version

dependencies {
compile "org.apache.lucene.morphology:russian:1.5"
compile "org.apache.lucene.morphology:english:1.5"
compile "org.apache.lucene.morphology:morph:1.5"
configurations {
yamlRestTestRuntimeOnly.extendsFrom testRuntimeOnly
restTestSpecs
}

// publishing {
// publications {
// DefaultPublication(MavenPublication) {
// groupId 'org.elasticsearch'
// artifactId 'elasticsearch-analysis-morphology'
// from components.java
// artifact javadocJar
// artifact sourcesJar
// artifact bundlePlugin
// }
// }
// }


// Only needed if we publish to bintray
if (project.hasProperty('bintrayUser')) {

bintray {
user = project.property('bintrayUser')
key = project.property('bintrayApiKey')
pkg {
repo = 'elasticsearch-plugins'
name = 'elasticsearch-analysis-morphology'
}
publications = ['DefaultPublication']
}
dependencies {
testRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.11.1'
yamlRestTestRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.11.1'
implementation "org.apache.lucene.morphology:russian:1.5"
implementation "org.apache.lucene.morphology:english:1.5"
implementation "org.apache.lucene.morphology:morph:1.5"
}

// TODO: temporary workaround until it's fixed in elasticsearch
validateNebulaPom.enabled = false

project.licenseFile = project.rootProject.file('LICENSE.txt')
project.noticeFile = project.rootProject.file('NOTICE.txt')

1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down

0 comments on commit 437d006

Please sign in to comment.