-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (45 loc) · 1.31 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
buildscript {
ext {
springbootVersion = '3.4.4'
lombokVersion = '1.18.36'
junitVersion = '5.12.1'
}
}
plugins {
id 'java'
id 'java-library'
id "org.springframework.boot" version "${springbootVersion}" apply false
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(JavaVersion.VERSION_23.toString())
}
targetCompatibility = JavaVersion.VERSION_23
sourceCompatibility = JavaVersion.VERSION_23
}
group 'xyz.andornot'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "https://maven.aliyun.com/nexus/content/groups/public"
}
}
allprojects {
apply plugin: 'java-library'
dependencies {
api platform("org.springframework.boot:spring-boot-dependencies:${springbootVersion}")
compileOnly "org.projectlombok:lombok:${lombokVersion}"
compileOnly 'org.jetbrains:annotations:26.0.2'
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testImplementation enforcedPlatform("org.junit:junit-bom:${junitVersion}")
testImplementation 'org.awaitility:awaitility:4.3.0'
}
}
dependencies {
}
test {
useJUnitPlatform()
}