build.gradle
3.07 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
plugins {
id 'java-library'
id 'org.springframework.boot' version "${springBootVersion}"
id 'io.spring.dependency-management' version "${springDependencyManagementVersion}"
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
implementation project(":aus-framework")
api project(":aus-core")
implementation project(":aus-gsc")
implementation 'net.coobird:thumbnailator:0.4.17'
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
// implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap'
implementation 'com.google.protobuf:protobuf-java:3.25.5'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5-jakarta'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
implementation 'com.auth0:java-jwt:4.3.0'
implementation 'com.google.code.gson:gson'
implementation 'cn.hutool:hutool-all:5.8.40'
implementation 'com.google.zxing:core:3.5.1'
implementation 'com.google.zxing:javase:3.5.1'
implementation 'com.github.binarywang:weixin-java-mp:4.7.8.B'
implementation 'com.github.binarywang:weixin-java-miniapp:4.7.8.B'
implementation 'com.github.binarywang:weixin-java-pay:4.7.8.B'
implementation 'io.github.swalikh:wework-wehook-starter:1.0.0'
runtimeOnly 'com.mysql:mysql-connector-j'
compileOnly("org.projectlombok:lombok")
// implementation 'redis.clients:jedis:3.3.0'
// implementation 'com.github.jedis-lock:jedis-lock:1.0.0'
annotationProcessor(
"org.projectlombok:lombok",
)
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation('org.springframework.boot:spring-boot-starter-test')
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// 排除 slf4j-simple,如果被其他库引入
configurations.all {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
implementation("io.swagger.core.v3:swagger-annotations:2.2.40")
implementation 'io.swagger.core.v3:swagger-core:2.2.15'
}
jar {
enabled = false
}
bootJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveBaseName = 'aus-api'
archiveVersion = '1.0.0'
enabled = true
}
//apply plugin: "org.summerframework.plugin"
//
//apiTypescript {
// generatedDir = '/aus-front/app/src/api/'
// excludePath = '/api/'
// excludeController "SecurityController"
//}