-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (64 loc) · 1.89 KB
/
build.gradle
File metadata and controls
84 lines (64 loc) · 1.89 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
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
plugins {
id 'org.springframework.boot' version '1.5.1.RELEASE'
id 'net.researchgate.release' version '2.4.0'
id "com.moowork.node" version "1.1.1" apply false
}
defaultTasks 'build'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(AbstractCompile) {
options.encoding = 'UTF-8'
}
archivesBaseName = 'leaderboard'
group = 'com.github.twostone.leaderboard'
repositories {
jcenter()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa') {
exclude group: 'org.hibernate'
}
compile 'org.springframework.boot:spring-boot-starter-data-rest'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-devtools'
compile 'org.eclipse.persistence:eclipselink:2.6.4'
compile 'org.springframework:spring-core'
compile 'javax.inject:javax.inject:1'
compile 'com.google.guava:guava:19.0'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.6.4'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-guava:2.7.1'
compile 'org.yaml:snakeyaml:1.17'
testCompile 'junit:junit:4.12'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.mockito:mockito-core:2.0.42-beta'
testCompile 'com.spencerwi:hamcrest-jdk8-time:0.7.1'
testCompile 'org.exparity:hamcrest-date:2.0.1'
compileOnly "org.projectlombok:lombok:1.16.14"
runtime 'com.h2database:h2'
runtime 'mysql:mysql-connector-java:5.1.38'
runtime project(':webapp')
}
test {
reports.junitXml.enabled = true
}
checkstyle {
toolVersion = '6.12.1'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}
release {
git {
requireBranch = '(release/\\d+\\.\\d+\\.\\d+)'
}
}