-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (31 loc) · 1008 Bytes
/
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
plugins {
id 'java'
id 'org.springframework.boot' version '2.5.3'
}
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
group 'com.rick'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
// jar 包名称自定义
bootJar {
archiveBaseName = 'timeline'
mainClassName = 'com.rick.TimelineApplication'
}
dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.20'
compileOnly group: 'org.projectlombok', name: 'lombok'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation group: 'mysql', name: 'mysql-connector-java', version: '5.1.49'
// OSS
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation group: 'org.jdom', name: 'jdom', version: '1.1.3'
implementation fileTree(dir: 'libs', include: '*.jar')
// implementation("com.squareup.okhttp3:okhttp:4.10.0")
}
test {
useJUnitPlatform()
}