forked from stardog-union/bites-corenlp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.43 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
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'java'
}
group 'com.complexible.stardog.docs.corenlp'
version '1.2.1'
sourceCompatibility = 1.8
ext {
stardogVersion = '7.3.0'
corenlpVersion = '4.0.0'
junitVersion = '4.12'
}
repositories {
maven { url 'http://maven.stardog.com' }
mavenCentral()
mavenLocal()
}
configurations {
localDeps
}
dependencies {
compileOnly group: 'com.complexible.stardog', name: 'server', version: stardogVersion
compileOnly group: 'com.complexible.stardog', name: 'client-http', version: stardogVersion
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: corenlpVersion
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models', version: corenlpVersion
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-english', version: corenlpVersion
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models-english-kbp', version: corenlpVersion
testImplementation group: 'junit', name: 'junit', version: junitVersion
testImplementation group: 'com.complexible.stardog', name: 'client-embedded', version: stardogVersion
}
shadowJar {
relocate 'org.apache.lucene', 'shadow.org.apache.lucene'
mergeServiceFiles()
}
test {
systemProperty 'stardog.home', System.getProperty('stardog.home')
systemProperty 'java.library.path', System.getProperty('stardog.home') + "/lib"
maxHeapSize = "8g"
}