-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (36 loc) · 1001 Bytes
/
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
plugins {
alias(libs.plugins.spotless)
alias(libs.plugins.spotbugs)
alias(libs.plugins.sonarqube)
alias(libs.plugins.gitProperties)
}
logger.quiet "Java version: ${System.properties['java.version']}"
logger.quiet "Gradle version: $gradle.gradleVersion"
logger.quiet "Current dir: $rootDir"
ext {
println("ALL_MODULES " + subprojects)
//this is a exotic project, some thing may special
kProjects = [
]
}
configure(subprojects) {
group = GROUPID
version = VERSION
apply plugin: "java"
}
configure(subprojects - kProjects) {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/milestone" }
}
}
gitProperties {
failOnNoGitDirectory = false
keys = ["git.branch", "git.commit.id.abbrev", "git.commit.id.describe"]
}
wrapper {
gradleVersion = "7.4.2"
distributionType = Wrapper.DistributionType.ALL
}