-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
92 lines (79 loc) · 3.72 KB
/
Copy pathbuild.gradle
File metadata and controls
92 lines (79 loc) · 3.72 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.3'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.ayssu'
version = '0.0.1-SNAPSHOT'
description = 'CipherGate'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
// 备用镜像(国内网络更稳),mavenCentral 兜底
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "com.baomidou:mybatis-plus-bom:3.5.15"
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-security-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation 'org.springframework.boot:spring-boot-starter-session-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-mail'
implementation 'org.springframework.boot:spring-boot-starter-webclient'
implementation 'org.springframework.boot:spring-boot-starter-aspectj'
implementation 'org.springframework.boot:spring-boot-starter-amqp'
// Swagger (OpenAPI 3) - Springdoc 官方 Swagger UI
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.14"
// Knife4j UI(仅前端资源),不引入其 Spring Boot Starter,避免与 Spring Boot 4/Spring 7 不兼容
implementation "com.github.xiaoymin:knife4j-openapi3-ui:4.5.0"
implementation "org.webjars:webjars-locator-lite:1.0.0"
implementation 'com.baomidou:mybatis-plus-spring-boot4-starter'
implementation 'com.baomidou:mybatis-plus-jsqlparser'
// Hutool 工具类(Excel 导出依赖 POI)
implementation 'cn.hutool:hutool-all:5.8.40'
implementation 'org.apache.poi:poi-ooxml:5.4.0'
implementation 'com.maxmind.geoip2:geoip2:4.3.1'
implementation 'org.lionsoul:ip2region:2.7.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
//implementation 'com.alibaba.fastjson2:fastjson2:2.0.43'
// Source: https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2
implementation "com.alibaba.fastjson2:fastjson2:2.0.61"
implementation 'org.pf4j:pf4j:3.14.1'
implementation project(':ciphergate-plugin-api')
implementation 'io.minio:minio:8.6.0'
// JWT for portal authentication
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-actuator-test'
testImplementation 'org.springframework.boot:spring-boot-starter-security-oauth2-client-test'
testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
testImplementation 'org.springframework.boot:spring-boot-starter-validation-test'
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}