-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (50 loc) · 2.03 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.3'
}
java{
sourceCompatibility = '21'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
implementation project(':common')
implementation project(':logger')
implementation project(':sentinel-adapter')
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
runtimeOnly 'com.mysql:mysql-connector-j'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config'
implementation 'com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery'
implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.4'
implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.7'
// implementation ('com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel'){
// exclude group: 'com.alibaba.csp', module: 'sentinel-transport-simple-http'
// }
implementation 'com.github.oshi:oshi-core:6.4.3'
implementation 'org.redisson:redisson-spring-boot-starter:3.23.3'
implementation 'org.apache.skywalking:apm-toolkit-trace:9.0.0'
implementation 'org.apache.skywalking:apm-toolkit-logback-1.x:9.0.0'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
mavenBom 'com.alibaba.cloud:spring-cloud-alibaba-dependencies:2022.0.0.0'
}
}
tasks.named('test') {
useJUnitPlatform()
}
compileJava {
options.compilerArgs << "-parameters"
}