-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (32 loc) · 829 Bytes
/
build.gradle
File metadata and controls
40 lines (32 loc) · 829 Bytes
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
group 'ninebow'
version '1.0'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = "app.Application"
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.shin285:KOMORAN:3.3.2'
compile 'commons-io:commons-io:2.5'
compile 'commons-configuration:commons-configuration:1.10'
}
jar {
manifest {
attributes 'Title': 'KOMORAN PoS Tagger', 'Version': version, 'Main-Class': mainClassName
}
archiveName 'KOMORANPoSTagger.jar'
dependsOn configurations.runtime
from {
configurations.compile.collect {it.isDirectory()? it: zipTree(it)}
}
}
run {
// ./gradlew run -P corpus="./data/corpus.filename"
if (project.hasProperty("corpus")) {
args(corpus)
}
}