-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (50 loc) · 1.35 KB
/
build.gradle
File metadata and controls
57 lines (50 loc) · 1.35 KB
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
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:1.4.0'
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
repositories {
jcenter()
mavenCentral()
flatDir {
dirs 'libs'
}
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-vfs2', version: '2.1'
compile group: 'org.apache.opennlp', name: 'opennlp-tools', version: '1.7.2'
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'org.json', name: 'json', version: '20170516'
compile group: 'info.debatty', name: 'java-string-similarity', version: '0.21'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.7.0'
compile group: 'edu.mit', name: 'jwi', version: '2.4.0'
}
sourceCompatibility = 1.7
targetCompatibility = 1.8
version = '2.4.0'
mainClassName = 'agk.chatbot.ChatBot'
jar {
exclude('xmlconv/')
manifest {
attributes 'Implementation-Title': 'CBR Chatbot',
'Implementation-Version': version,
'Main-Class': mainClassName
}
}
gretty {
httpPort = 8080
contextPath = '/'
servletContainer = 'jetty9'
}
javadoc {
source = 'src/main/java/agk'
}