-
Notifications
You must be signed in to change notification settings - Fork 48
/
build.gradle
48 lines (42 loc) · 1.7 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
apply plugin: "java-library"
apply from: "${rootProject.projectDir}/gradle/publish-maven.gradle"
ext {
javaVersion = JavaVersion.VERSION_17
springBootVersion = "3.3.2"
lombokVersion = "1.18.34"
googleAutoVersion = "1.1.1"
compileTestingVersion = '0.21.0'
inCapVersion = "1.0.0"
}
group = GROUPID
version = VERSION
allprojects {
apply plugin: 'java'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs << "-parameters" << "-Xlint:unchecked" << "-Xlint:deprecation"
}
dependencies {
api "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
api "org.springframework.boot:spring-boot-autoconfigure-processor:$springBootVersion"
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compileOnly "com.google.auto.service:auto-service:$googleAutoVersion"
annotationProcessor "com.google.auto.service:auto-service:$googleAutoVersion"
compileOnly "net.ltgt.gradle.incap:incap:$inCapVersion"
annotationProcessor "net.ltgt.gradle.incap:incap-processor:$inCapVersion"
testImplementation "com.google.testing.compile:compile-testing:$compileTestingVersion"
testImplementation "net.ltgt.gradle.incap:incap:$inCapVersion"
}
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/spring" }
maven { url "https://maven.aliyun.com/repository/spring-plugin" }
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/milestone" }
mavenCentral()
}