-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
77 lines (63 loc) · 1.69 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
buildscript {
ext {
springBootVersion = '2.4.5'
alibabaCloud = '2021.1'
mybatisStarterVersion = '2.1.4'
mysqlDriverVersion = '5.1.49'
druidVersion = '1.2.6'
mybatisPlusVersion = '3.4.2'
swaggerVersion = '3.0.0'
}
repositories {
mavenCentral()
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
}
dependencies {
classpath "io.spring.gradle:dependency-management-plugin"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
allprojects {
group = 'io.shadon.cloudservice'
version = '0.0.1-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'io.spring.dependency-management'
//apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
url 'https://maven.aliyun.com/repository/public/'
}
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'io.springfox:springfox-boot-starter:3.0.0'
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2020.0.2"
mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:${alibabaCloud}"
}
}
tasks.withType(JavaCompile) {
options.encoding("UTF-8")
}
}
subprojects {
dependencies {
}
apply plugin: 'io.spring.dependency-management'
dependencyManagement {
}
jar {
manifest.attributes provider: 'gradle'
}
}