-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
28 lines (25 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
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
plugins {
id "java"
id "signing"
id "java-library"
id "maven-publish"
id "org.sonarqube" version "6.0.1.5171"
id "io.gitlab.arturbosch.detekt" version "1.23.7"
id "org.springframework.boot" version "3.4.1"
id "io.spring.dependency-management" version "1.1.7"
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
id "org.jetbrains.kotlinx.kover" version "0.9.1"
}
// export classes for config gradles
ext.Detekt = Detekt
ext.DetektCreateBaselineTask = DetektCreateBaselineTask
// apply externalized configs
apply from: "${rootDir}/dependencies.gradle"
apply from: "${rootDir}/config/gradle/detekt.gradle"
apply from: "${rootDir}/config/gradle/kover_sonar.gradle"
apply from: "${rootDir}/config/gradle/java.gradle"
apply from: "${rootDir}/config/gradle/publishing.gradle"
apply from: "${rootDir}/config/gradle/tests.gradle"
apply from: "${rootDir}/config/gradle/wrapper.gradle"