generated from xenoterracide/java-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 804 Bytes
/
build.gradle.kts
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
// © Copyright 2024 Caleb Cushing
// SPDX-License-Identifier: MIT
buildscript { dependencyLocking { lockAllConfigurations() } }
plugins {
our.spotless
alias(libs.plugins.dependency.analysis)
}
dependencyLocking { lockAllConfigurations() }
group = "com.xenoterracide"
version = "0.1.0-SNAPSHOT"
tasks.dependencies {
dependsOn(subprojects.map { "${it.path}:dependencies" })
}
tasks.check {
dependsOn(tasks.buildHealth)
}
dependencyAnalysis {
issues {
all {
onAny {
severity("fail")
}
onUnusedDependencies {
exclude(libs.junit.parameters)
exclude(libs.assertj)
exclude(libs.spring.test)
exclude(libs.spring.boot.test.autoconfigure)
exclude(libs.spring.boot.test.core)
exclude(libs.jspecify)
}
}
}
}