-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (37 loc) · 1.04 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
apply from: 'dependencyDefinitions.gradle'
apply plugin: 'application'
buildscript {
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.0.RELEASE")
}
}
mainClassName = 'com.springboot.api.Application'
allprojects {
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
version = '1.0'
group = 'com.springboot.api'
}
subprojects {
apply plugin: 'java'
apply plugin: 'spring-boot'
sourceCompatibility = JavaVersion.VERSION_1_8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
configurations {
all*.exclude module: 'hibernate-validator'
all*.exclude module: 'spring-boot-starter-logging'
}
dependencies {
testCompile(
libraries.'spring-boot-starter-test'
)
}
}