-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
49 lines (41 loc) · 1 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
buildscript {
ext {
applicationDefaultJvmArgs = ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005']
spotbugsVersion = '1.6.8'
toolVersion = '3.1.10'
}
repositories {
mavenCentral()
maven { url = "https://plugins.gradle.org/m2/" }
}
}
plugins {
id 'java'
id 'idea'
id 'org.springframework.boot' version '3.4.3'
id 'io.spring.dependency-management' version '1.1.7'
id 'net.ltgt.errorprone' version '4.1.0'
id "org.sonarqube" version "6.0.1.5171"
}
group = 'com.poseidon'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
}
apply from: 'gradle/dependencies.gradle'
apply from: 'gradle/staticCodeAnalysis.gradle'
test {
useJUnitPlatform()
}
jar {
enabled = false
}
tasks.withType(JavaCompile).configureEach {
configure(options) {
options.compilerArgs << '-parameters'
}
}
test.dependsOn checkstyleMain
test.dependsOn checkstyleTest
bootRun.dependsOn checkstyleMain
check.dependsOn(pmdMain)