-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbuild.gradle
62 lines (47 loc) · 1.62 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
buildscript {
ext {
springBootVersion = '2.1.9.RELEASE'
}
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public'}
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
allprojects {
group 'io.github.ygsama'
version '1.0-SNAPSHOT'
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public'}
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: "io.spring.dependency-management"
}
subprojects {
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-starter-parent:${springBootVersion}"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
dependencies {
implementation 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation('com.alibaba:fastjson:1.2.51')
annotationProcessor "org.mapstruct:mapstruct-processor:1.3.0.Final"
compileOnly "org.mapstruct:mapstruct-processor:1.3.0.Final"
compile "org.mapstruct:mapstruct-jdk8:1.3.0.Final"
compile "io.springfox:springfox-swagger2:2.9.2"
compile "io.springfox:springfox-swagger-ui:2.9.2"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}
}