forked from bolandka/infoLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
100 lines (84 loc) · 3.14 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
apply plugin: 'java'
apply plugin: 'war'
// apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "io.github.infolis.commandLine.CommandLineExecuter"
version = 1.0
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
// gretty {
// httpPort = 8082
// // servletContainer = "tomcat7" // Servlet container to be used in appXXX tasks. Possible values are jetty7, jetty8, jetty9, tomcat7, tomcat8.
// servletContainer = "jetty9" // Servlet container to be used in appXXX tasks. Possible values are jetty7, jetty8, jetty9, tomcat7, tomcat8.
// interactiveMode = "rebuildAndRestartOnKeyPress"
// }
dependencies {
// compile 'com.github.infolis:tagging:1.0'
compile(project (':keywordTagging')) {
exclude group: 'org.slf4j'
}
compile 'org.apache.lucene:lucene-queryparser:6.0.0'
compile 'org.apache.lucene:lucene-highlighter:6.0.0'
compile 'org.apache.lucene:lucene-memory:6.0.0'
compile 'org.apache.pdfbox:pdfbox:1.8.8'
compile 'org.bouncycastle:bcprov-jdk16:1.45'
compile 'args4j:args4j:2.0.29'
compile 'org.jsoup:jsoup:1.8.1'
compile 'com.google.guava:guava:18.0'
compile 'org.apache.solr:solr-solrj:4.1.0'
compile 'edu.stanford.nlp:stanford-parser:3.6.0'
compile 'org.apache.opennlp:opennlp-tools:1.6.0'
compile 'cc.mallet:mallet:2.0.7'
// Logging
compile 'ch.qos.logback:logback-core:1.1.3'
compile 'ch.qos.logback:logback-classic:1.1.3'
compile 'org.slf4j:slf4j-api:1.7.12'
// Jersey / JAX-RS / JSON / XML
compile 'org.glassfish.jersey.core:jersey-server:2.22.1'
compile 'org.glassfish.jersey.core:jersey-client:2.22.1'
compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.22.1'
compile 'org.glassfish.jersey.media:jersey-media-multipart:2.22.1'
compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.22.1'
compile 'org.glassfish:javax.json:1.0.4'
// Reflections
compile 'org.reflections:reflections:0.9.9'
compile 'org.apache.commons:commons-lang3:3.0'
compile 'commons-io:commons-io:2.4'
compile 'org.apache.commons:commons-collections4:4.0'
// Unit testing
testCompile 'junit:junit:4.6'
compile 'junit:junit:4.6'
}
test {
systemProperties = System.properties
testLogging {
events "failed"
exceptionFormat "short"
}
}
task travisTest(type: Test) {
systemProperties = System.properties
testLogging {
events "failed"
exceptionFormat "short"
}
exclude '**/KeywordTaggerTest.class'
}
configurations.all {
exclude group: "org.slf4j", module: "slf4j-log4j12"
exclude group: "log4j", module: "log4j"
}
// jar {
// manifest {
// attributes 'Implementation-Title': 'Gradle Jar File Example',
// 'Implementation-Version': version,
// 'Main-Class': 'io.github.infolis.commandLine.CommandLineExecuter'
// }
// doFirst {
// from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
// }
// exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
// }