-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
57 lines (49 loc) · 1.28 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
buildscript {
dependencies {
classpath (libs.licenseGradlePlugin) {
exclude group: 'org.springframework', module: 'spring-core'
}
}
configurations.configureEach {
resolutionStrategy {
force (libs.plexus.utils)
force (libs.commons.compress)
}
}
}
plugins {
alias (libs.plugins.sonarqube)
id 'idea'
alias(libs.plugins.spring.boot) apply false
}
repositories {
mavenCentral()
}
idea {
project {
jdkName = '21'
languageLevel = '21'
}
module {
downloadSources = true
excludeDirs -= layout.buildDirectory.get().asFile
// FIXME: This might be wrong with the switch to WSDL2JAVA or even not needed
buildDir.listFiles({ d, f -> f != 'generated-sources/wsimport' } as FilenameFilter).each { excludeDirs += it }
}
}
wrapper {
gradleVersion = '8.10'
}
ext {
project_version='4.0.0'
}
subprojects {
version = project_version
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << "-Xlint:unchecked"
options.compilerArgs << "-Xlint:deprecation"
options.compilerArgs << "-Xlint:rawtypes"
options.compilerArgs << "-Xlint:fallthrough"
options.compilerArgs << "-Xlint:finally"
}
}