-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathsettings.gradle
35 lines (29 loc) · 872 Bytes
/
settings.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
// Note:
// When you see "$fooVersion", those are versions pulled from
// "gradle.properties".
// TODO: Migrate these to use the version catalog (like other plugins in
// "build.gradle").
pluginManagement {
plugins {
id "com.github.spotbugs" version "$spotbugsPluginVersion"
id "info.solidsoft.pitest" version "$pitestPluginVersion"
}
}
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath "org.kordamp.gradle:enforcer-gradle-plugin:$enforcerPluginVersion"
}
}
apply plugin: "org.kordamp.gradle.enforcer"
// See https://kordamp.org/enforcer-gradle-plugin/#_rules for the kinds of
// rules you can set up.
enforce {
rule(enforcer.rules.RequireGradleVersion) { r ->
r.version = "$gradleWrapperVersion"
}
}
rootProject.name = "modern-java-practices"