Skip to content

Commit

Permalink
feat: move to stable plugin arch
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Jul 17, 2023
1 parent e3555ef commit 7617449
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 131 deletions.
47 changes: 47 additions & 0 deletions Sefaria-ElasticSearch-naive-lemmatizer-less-prefixes/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
ext.pluginApiVersion = '8.7.0'
ext.luceneVersion = '9.5.0'

buildscript {
ext.pluginApiVersion = '8.7.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.elasticsearch.gradle:build-tools:${pluginApiVersion}"
}
}

apply plugin: 'elasticsearch.stable-esplugin'
apply plugin: 'elasticsearch.yaml-rest-test'

esplugin {
name 'analysis-sefaria-naive-lemmatizer-less-prefixes'
description 'Sefaria analyzer'
}

group 'org.sefaria.sefariaplugin'
version '1.0-SNAPSHOT'

repositories {
mavenLocal()
mavenCentral()
}

dependencies {

compileOnly "org.elasticsearch.plugin:elasticsearch-plugin-api:${pluginApiVersion}"
compileOnly "org.elasticsearch.plugin:elasticsearch-plugin-analysis-api:${pluginApiVersion}"
compileOnly "org.apache.lucene:lucene-analysis-common:${luceneVersion}"

testImplementation "org.elasticsearch.plugin:elasticsearch-plugin-api:${pluginApiVersion}"
testImplementation "org.elasticsearch.plugin:elasticsearch-plugin-analysis-api:${pluginApiVersion}"
testImplementation "org.apache.lucene:lucene-analysis-common:${luceneVersion}"

testImplementation ('junit:junit:4.13.2'){
exclude group: 'org.hamcrest'
}
testImplementation 'org.mockito:mockito-core:4.4.0'
testImplementation 'org.hamcrest:hamcrest:2.2'

}

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

74 changes: 0 additions & 74 deletions Sefaria-ElasticSearch-naive-lemmatizer-less-prefixes/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Sefaria-ElasticSearch-naive-lemmatizer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply plugin: 'elasticsearch.yaml-rest-test'

esplugin {
name 'analysis-sefaria-naive-lemmatizer'
description 'My analysis plugin'
description 'Sefaria analyzer'
}

group 'org.sefaria.sefariaplugin'
Expand Down

0 comments on commit 7617449

Please sign in to comment.