-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
77 lines (67 loc) · 1.9 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
sourceCompatibility = 1.8
version = '0.0.5'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'commons-collections:commons-collections:3.2'
compile('com.sparkjava:spark-core:2.2') {
exclude group: 'org.slf4j'
}
compile ('com.j256.ormlite:ormlite-core:4.48') {
exclude group: 'org.slf4j'
}
compile ('com.j256.ormlite:ormlite-jdbc:4.48') {
exclude group: 'org.slf4j'
}
compile 'com.google.code.gson:gson:2.3.1'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'javax.persistence:persistence-api:1.0.2'
compile 'mysql:mysql-connector-java:5.1.32'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.4.1'
compile 'org.apache.logging.log4j:log4j-api:2.4.1'
compile 'org.apache.logging.log4j:log4j-core:2.4.1'
compile 'org.apache.logging.log4j:log4j-1.2-api:2.4.1'
testCompile 'junit:junit:4.+'
testCompile 'com.jayway.restassured:rest-assured:2.4.0'
testCompile 'org.assertj:assertj-core:3.0.0'
testCompile 'org.mockito:mockito-core:2.+'
testCompile 'org.hsqldb:hsqldb:2.3.3'
}
test {
systemProperties 'property': 'value'
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.3.1'
}
}
jacocoTestReport {
group = "Reporting"
description = "Generate Jacoco coverage reports after running tests."
additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
reports {
xml.enabled = true
html.enabled = true
}
}