-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
57 lines (50 loc) · 1.49 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
id("groovy")
id("gradlexbuild.build-parameters")
id("gradlexbuild.documentation-conventions")
id("org.gradlex.internal.plugin-publish-conventions") version "0.6"
}
group = "org.gradlex"
version = "1.4.5"
java {
toolchain.languageVersion = JavaLanguageVersion.of(8)
}
dependencies.constraints {
checkstyle("com.google.guava:guava:33.4.0-jre") {
because("CVE-2023-2976, CVE-2020-8908")
}
testSamplesImplementation("commons-io:commons-io:2.18.0") {
because("CVE-2024-47554, CVE-2021-29425")
}
}
pluginPublishConventions {
id("${project.group}.${project.name}")
implementationClass("org.gradlex.buildparameters.BuildParametersPlugin")
displayName("Build Parameters Gradle Plugin")
description("Compile-safe access to parameters supplied to a Gradle build.")
tags("gradlex", "parameters", "build parameters")
gitHub("https://github.com/gradlex-org/build-parameters")
website("https://gradlex.org/build-parameters")
developer {
id = "britter"
name = "Benedikt Ritter"
email = "[email protected]"
}
developer {
id = "jjohannes"
name = "Jendrik Johannes"
email = "[email protected]"
}
}
testing.suites.named<JvmTestSuite>("test") {
useJUnitJupiter()
dependencies {
implementation("org.spockframework:spock-core:2.3-groovy-3.0")
}
targets.all {
testTask { maxParallelForks = 4 }
}
}
tasks.publishPlugins {
dependsOn(tasks.check)
}