-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
45 lines (40 loc) · 1.37 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
buildscript{
ext{
springBootVersion = '2.1.7.RELEASE' //2.1.x버전으로 고정(2.2, 2.3 안됨)
}
repositories{
mavenCentral()
jcenter()
}
dependencies{
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'com.github.kt3k.coveralls'
apply plugin: 'jacoco'
group = 'com.infe'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.projectlombok:lombok')
compile('org.springframework.boot:spring-boot-starter-data-jpa') //spring boot 버전에 맞춰 자동으로 jpa관련 lib들의 버전을 관리해줌.
compile('com.h2database:h2') //기본이 runtime이라 compile로 바꿔줘야함
compile ('org.mariadb.jdbc:mariadb-java-client') // MariaDB
compile('org.springframework.boot:spring-boot-starter-mustache')
testCompile('org.springframework.boot:spring-boot-starter-test')
}