forked from AlonEirew/wikipedia-to-elastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (46 loc) · 2.57 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
group 'WikipediaToElastic'
version '1.0'
apply plugin: 'java'
apply plugin: 'java-library-distribution'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-compress', version: '1.16.1'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
compile group: 'com.google.guava', name: 'guava', version: '30.0-jre'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.0'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '4.0.0'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models', version: '4.0.0'
// compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-spanish', version: '4.0.0'
// compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-german', version: '4.0.0'
// compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-french', version: '4.0.0'
// compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-chinese', version: '4.0.0'
compile group: 'info.bliki.wiki', name: 'bliki-core', version: '3.1.0'
compile group: 'me.tongfei', name: 'progressbar', version: '0.8.1'
compile group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
compile group: 'org.elasticsearch', name: 'elasticsearch', version: '7.17.4'
compile group: 'org.elasticsearch', name: 'elasticsearch-core', version: '7.17.4'
compile group: 'org.elasticsearch', name: 'elasticsearch-x-content', version: '7.17.4'
compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '7.17.4'
compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '7.17.4'
}
distZip.shouldRunAfter(build)
jar {
exclude 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.MF'
manifest {
attributes 'Main-Class': 'wiki.WikiToElasticMain',
'Class-Path': configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
}
}