-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (57 loc) · 1.61 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
66
67
68
69
70
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'eclipse'
group = 'bnlp'
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
// change to point to your repo, e.g. http://my.org/repo
url "$buildDir/repo"
}
}
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile 'org.jdom:jdom:2.0.2',
'commons-cli:commons-cli:1.3.1',
'org.xerial:sqlite-jdbc:3.8.11.2',
'edu.stanford.nlp:stanford-corenlp:3.9.2',
'edu.stanford.nlp:stanford-corenlp:3.9.2:models',
'org.json:json:20160212',
'org.slf4j:slf4j-simple:1.7.30',
'xpp3:xpp3:1.1.4c',
'org.apache.commons:commons-csv:1.1',
'org.apache.commons:commons-math3:3.6.1',
fileTree(dir: 'lib', include: '*.jar')
testCompile 'junit:junit:4.12'
'org.hamcrest:hamcrest-all:1.3'
}
allprojects {
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = "1.0.0"
}
task runCorpusBuilder(dependsOn: 'classes', type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'bnlp.re.sparc.CorpusBuilder'
if (project.hasProperty('pargs')) {
args(pargs.split(','))
}
}
task runPMCCorpusBuilder(dependsOn: 'classes', type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'bnlp.re.sparc.PMCCorpusBuilder'
if (project.hasProperty('pargs')) {
args(pargs.split(','))
}
}