2024-01-02 10:16:15 +08:00
|
|
|
|
plugins {
|
|
|
|
|
|
id 'java'
|
|
|
|
|
|
id 'org.springframework.boot' version '3.2.1'
|
|
|
|
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
2024-01-23 00:30:30 +08:00
|
|
|
|
id 'io.freefair.lombok' version '6.2.0'
|
2024-01-02 10:16:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
group = 'com.realtime'
|
2024-04-08 16:27:21 +08:00
|
|
|
|
version = '1.1-SNAPSHOT'
|
2024-01-02 10:16:15 +08:00
|
|
|
|
|
|
|
|
|
|
java {
|
|
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
|
|
compileOnly {
|
|
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2024-01-05 21:42:19 +08:00
|
|
|
|
// SpringBoot原生依赖
|
2024-01-02 10:16:15 +08:00
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2024-01-03 09:13:22 +08:00
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
2024-01-17 09:44:29 +08:00
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
2024-01-02 10:16:15 +08:00
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
|
2024-01-07 17:54:28 +08:00
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
2024-01-25 12:52:53 +08:00
|
|
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
2024-04-29 15:33:09 +08:00
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
2024-01-08 20:01:20 +08:00
|
|
|
|
|
2024-01-23 00:30:30 +08:00
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
|
|
2024-01-02 10:16:15 +08:00
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
2024-01-08 20:01:20 +08:00
|
|
|
|
runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.7.0.0'
|
2024-01-23 00:30:30 +08:00
|
|
|
|
|
2024-01-02 10:16:15 +08:00
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
|
|
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.3'
|
|
|
|
|
|
|
2024-01-05 21:42:19 +08:00
|
|
|
|
// 外部引入依赖
|
2024-01-02 10:16:15 +08:00
|
|
|
|
// Sa-Token 权限认证,在线文档:https://sa-token.cc
|
|
|
|
|
|
implementation 'cn.dev33:sa-token-spring-boot3-starter:1.37.0'
|
|
|
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
2024-01-05 21:42:19 +08:00
|
|
|
|
implementation 'com.alibaba:easyexcel:3.3.3'
|
2024-01-08 20:01:20 +08:00
|
|
|
|
implementation 'com.baomidou:dynamic-datasource-spring-boot3-starter:4.3.0'
|
2024-01-19 15:09:23 +08:00
|
|
|
|
implementation 'com.github.xiaoymin:knife4j-openapi3-jakarta-spring-boot-starter:4.4.0'
|
2024-04-24 00:00:10 +08:00
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
2024-05-29 22:05:17 +08:00
|
|
|
|
implementation 'com.alibaba:druid:1.2.23'
|
|
|
|
|
|
|
2024-01-02 10:16:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
|
|
useJUnitPlatform()
|
2024-01-09 09:20:13 +08:00
|
|
|
|
}
|