-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (31 loc) · 1.06 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
group 'com.mentoring'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.springframework.boot'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE")
}
}
dependencies {
/* SPRING */
compile("org.springframework.boot:spring-boot-starter-data-jpa")
testCompile("org.springframework.boot:spring-boot-starter-test")
/* for persisting Java Date API objects with Hibernate */
/** since Hibernate 5.1 this dependency included into hibernate-core */
compile group: 'org.hibernate', name: 'hibernate-java8', version: '5.0.12.Final'
/* DB */
testCompile group: 'com.h2database', name: 'h2', version: '1.4.196'
/* UTILITY */
providedCompile group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
testCompile group: 'junit', name: 'junit', version: '4.12'
}