-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.32 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
ext {
jetcacheVersion = '2.7.7'
jacksonVersion = "2.18.2"
springBootVersion = '3.2.4'
springCloudAlibabaVersion = '2023.0.1.0'
lettuceVersion = "6.5.2.RELEASE"
dubboVersion = "3.3.2"
}
buildscript {
repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
}
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
group = 'io.github.qy8502'
//version = '0.0.2-SNAPSHOT'
version = '1.0.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:${springCloudAlibabaVersion}"
}
}
compileJava {
options.encoding = "UTF-8"
options.compilerArgs << '-parameters' << "-Xlint:unchecked" << "-Xlint:deprecation"
}
dependencies {
implementation("org.slf4j:slf4j-api:2.1.0-alpha1")
}
}