-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
46 lines (40 loc) · 1014 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
buildscript {
ext {
applicationDefaultJvmArgs = ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005']
spotbugsVersion = '5.0.7'
toolVersion = '3.1.10'
}
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:2.0.0"
}
}
plugins {
id 'java'
id 'idea'
id 'org.springframework.boot' version '3.3.5'
id 'io.spring.dependency-management' version '1.1.6'
id 'net.ltgt.errorprone' version '4.0.1'
id 'com.github.spotbugs' version '6.0.26' apply false
id 'de.aaschmid.cpd' version '3.3'
id "org.sonarqube" version "5.1.0.4882"
}
group = 'com.quiz.darkhold'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
}
apply from: 'gradle/dependencies.gradle'
apply from: 'gradle/staticCodeAnalysis.gradle'
test {
useJUnitPlatform()
}
test.dependsOn checkstyleMain
test.dependsOn checkstyleTest
bootRun.dependsOn checkstyleMain
check.dependsOn(cpdCheck, pmdMain)