forked from matthewcoole/lexidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (62 loc) · 1.76 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'jacoco'
//id 'pmd'
}
repositories {
mavenLocal()
maven {
url = 'https://repo.maven.apache.org/maven2'
}
}
dependencies {
compile 'org.slf4j:slf4j-log4j12:1.7.25'
compile 'dk.brics.automaton:automaton:1.11-8'
compile 'org.codehaus.jackson:jackson-mapper-asl:1.9.13'
compile 'io.javalin:javalin:0.5.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.1'
compile 'com.univocity:univocity-parsers:2.5.6'
compile 'org.apache.commons:commons-csv:1.5'
compile 'com.googlecode.concurrent-trees:concurrent-trees:2.6.1'
testCompile 'junit:junit:4.12'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.mockito:mockito-core:2.10.0'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'me.tongfei', name: 'progressbar', version: '0.7.4'
compile group: 'org.apache.mahout', name: 'mahout-math', version: '0.13.0'
compile group: 'me.lemire.integercompression', name: 'JavaFastPFOR', version: '0.1.12'
compile 'com.google.guava:guava:28.0-jre'
compileOnly 'org.projectlombok:lombok:1.18.8'
annotationProcessor 'org.projectlombok:lombok:1.18.8'
}
group = 'ucrel'
version = '2.0'
sourceCompatibility = '1.12'
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
jar {
manifest {
attributes 'Main-Class': 'server.Server'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}