This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
65 lines (55 loc) · 1.59 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
buildscript {
repositories {
mavenCentral()
maven {
name 'sonatype-snapshots'
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
jcenter()
}
dependencies {
classpath "org.elasticsearch.gradle:build-tools:7.3.2"
}
}
repositories {
mavenCentral()
}
apply plugin: 'idea'
apply plugin: 'elasticsearch.esplugin'
apply plugin: 'nebula.maven-publish' // esplugin needs nebula
apply plugin: 'maven-publish'
version = '0.6.0'
javadoc {
options.encoding = 'UTF-8'
}
dependencies {
compile 'org.puimula.voikko:libvoikko:4.1.1'
}
esplugin {
description 'Voikko Analysis for Elasticsearch'
classname 'fi.evident.elasticsearch.voikko.plugin.AnalysisVoikkoPlugin'
name 'elasticsearch-analysis-voikko'
licenseFile rootProject.file('LICENCE')
noticeFile rootProject.file('NOTICE')
}
test {
if (System.getProperty('voikko.path') != null)
systemProperty 'voikko.path', System.getProperty('voikko.path')
if (System.getProperty('voikko.dict.path') != null)
systemProperty 'voikko.dict.path', System.getProperty('voikko.dict.path')
}
publishing {
publications {
DefaultPublication(MavenPublication) {
groupId 'fi.evident.elasticsearch'
artifactId 'elasticsearch-analysis-voikko'
from components.java
artifact javadocJar
artifact sourcesJar
artifact bundlePlugin
}
}
}
// TODO: temporary workaround until it's fixed in elasticsearch
thirdPartyAudit.enabled = false
testingConventions.enabled = false