2、动态规则类新增sql解析方法,发送dynamicTaskInfos时对sql进行解析。 3、ResponseResult返回响应信息修改为中文 4、动态任务运行状态转变为运行中时,dynamicTaskInfos生成的查询mapper语句修改
59 lines
1.9 KiB
Groovy
59 lines
1.9 KiB
Groovy
plugins {
|
||
id 'java'
|
||
id 'org.springframework.boot' version '3.2.1'
|
||
id 'io.spring.dependency-management' version '1.1.4'
|
||
id 'io.freefair.lombok' version '6.2.0'
|
||
}
|
||
|
||
group = 'com.realtime'
|
||
version = '1.1-SNAPSHOT'
|
||
|
||
java {
|
||
sourceCompatibility = '17'
|
||
}
|
||
|
||
configurations {
|
||
compileOnly {
|
||
extendsFrom annotationProcessor
|
||
}
|
||
}
|
||
|
||
repositories {
|
||
mavenCentral()
|
||
}
|
||
|
||
dependencies {
|
||
// SpringBoot原生依赖
|
||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
||
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
||
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
|
||
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
||
implementation 'org.springframework.kafka:spring-kafka'
|
||
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
||
|
||
compileOnly 'org.projectlombok:lombok'
|
||
annotationProcessor 'org.projectlombok:lombok'
|
||
|
||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||
runtimeOnly 'com.mysql:mysql-connector-j'
|
||
runtimeOnly 'com.oracle.database.jdbc:ojdbc8:19.7.0.0'
|
||
|
||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.3'
|
||
|
||
// 外部引入依赖
|
||
// 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'
|
||
implementation 'com.alibaba:easyexcel:3.3.3'
|
||
implementation 'com.baomidou:dynamic-datasource-spring-boot3-starter:4.3.0'
|
||
implementation 'com.github.xiaoymin:knife4j-openapi3-jakarta-spring-boot-starter:4.4.0'
|
||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
||
implementation 'com.alibaba:druid:1.2.23'
|
||
|
||
}
|
||
|
||
tasks.named('test') {
|
||
useJUnitPlatform()
|
||
} |