This repository has been archived by the owner on Dec 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
81 lines (66 loc) · 2.1 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
78
79
80
81
allprojects {
group = 'org.jdw'
version = '0.0.1-SNAPSHOT'
apply plugin: 'eclipse'
apply plugin: 'idea'
task wrapper(type: Wrapper) {
gradleVersion = '2.1'
}
}
description = 'Gradle Profiles Blog'
buildscript {
ext {
springBootVersion = '1.5.4.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("io.spring.gradle:dependency-management-plugin:1.0.7.RELEASE")
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
apply plugin: 'spring-boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply from: rootProject.file('gradle/eclipse.gradle');
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
// Start: JUnit
testCompile('org.springframework.boot:spring-boot-starter-test') {
exclude module: 'commons-logging'
}
// End: JUnit
// Start: Spring Boot Web
compile('org.springframework.boot:spring-boot-starter-web') {
exclude module: 'spring-boot-starter-tomcat'
}
// End: Spring Boot Web
// Start: Database
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.hibernate:hibernate-validator:5.1.3.Final' //JSR303 Validation Support
compile 'org.liquibase:liquibase-core:3.3.2'
testCompile 'com.h2database:h2:1.4.185'
// End: Database
// Start: Apache Commons
compile 'org.apache.commons:commons-lang3:3.4'
// End: Apache Commons
// Start: Spring Boot Actuator
compile 'org.springframework.boot:spring-boot-starter-actuator'
// End: Spring Boot Actuator
}
bootRun {
// Ensures IntelliJ can load resource files
addResources = false
}
}
apply from: rootProject.file('gradle/profiles.gradle');