-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
76 lines (68 loc) · 2.15 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
buildscript {
ext {
vaadinVersion = '8.10.0'
lombokVersion = '1.18.12'
}
}
plugins {
id 'org.springframework.boot' version '1.5.22.RELEASE'
id "com.github.kt3k.coveralls" version "2.9.0"
id 'jacoco'
}
sourceCompatibility = 11
targetCompatibility = 11
repositories {
mavenCentral()
}
dependencies {
// Spring Boot
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.security.oauth:spring-security-oauth2'
compile 'javax.annotation:javax.annotation-api:1.3.2'
runtime 'javax.xml.bind:jaxb-api:2.3.0'
// Vaadin
compile 'com.vaadin:vaadin-spring-boot-starter'
compile 'org.vaadin.spring.addons:vaadin-spring-addon-i18n:2.0.0.RELEASE'
compile 'com.vaadin:vaadin-compatibility-server'
runtime 'com.vaadin:vaadin-compatibility-client-compiled'
// OkHttp
compile 'com.squareup.okhttp3:okhttp:4.3.1'
// Utilities
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compileOnly "org.projectlombok:lombok:$lombokVersion"
compile 'org.checkerframework:checker-qual:2.5.3'
compile 'com.google.guava:guava:20.0'
compile 'org.pegdown:pegdown:1.6.0'
compile 'commons-io:commons-io:2.6'
compile 'commons-validator:commons-validator:1.6'
compile 'org.ocpsoft.prettytime:prettytime:4.0.3.Final'
// Database
runtime 'com.h2database:h2' // development and test
runtime 'mysql:mysql-connector-java' // production
// Docs
compile 'io.springfox:springfox-swagger2:2.9.2'
compile 'io.springfox:springfox-swagger-ui:2.9.2'
// Tests
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "com.vaadin:vaadin-bom:${vaadinVersion}"
}
}
jar {
baseName = 'mosaic'
version = '0.6'
archiveName = baseName + "." + extension
}
springBoot {
executable = true
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}