-
Notifications
You must be signed in to change notification settings - Fork 999
/
build.gradle.kts
56 lines (55 loc) · 2.46 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("org.gradlex.build-parameters") version "1.4.4"
id("com.github.vlsi.gradle-extensions") version "1.90"
id("build-logic.kotlin-dsl-gradle-plugin")
}
buildParameters {
// Other plugins can contribute parameters, so below list is not exhaustive
enableValidation.set(false)
pluginId("build-logic.build-params")
bool("enableMavenLocal") {
defaultValue.set(true)
description.set("Add mavenLocal() to repositories")
}
integer("targetJavaVersion") {
defaultValue.set(11)
mandatory.set(true)
description.set("Java version for source and target compatibility")
}
integer("jdkBuildVersion") {
defaultValue.set(17)
mandatory.set(true)
description.set("JDK version to use for building JMeter. If the value is 0, then the current Java is used. (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:consuming)")
}
string("jdkBuildVendor") {
description.set("JDK vendor to use building JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:vendors)")
}
string("jdkBuildImplementation") {
description.set("Vendor-specific virtual machine implementation to use building JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#selecting_toolchains_by_virtual_machine_implementation)")
}
integer("jdkTestVersion") {
description.set("JDK version to use for testing JMeter. If the value is 0, then the current Java is used. (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:consuming)")
}
string("jdkTestVendor") {
description.set("JDK vendor to use testing JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:vendors)")
}
string("jdkTestImplementation") {
description.set("Vendor-specific virtual machine implementation to use testing JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#selecting_toolchains_by_virtual_machine_implementation)")
}
bool("sonarqube") {
defaultValue.set(false)
description.set("Report verification results to Sonarqube")
}
bool("skipAutostyle") {
defaultValue.set(false)
description.set("Skip AutoStyle verifications")
}
bool("failOnJavadocWarning") {
defaultValue.set(true)
description.set("Fail build on javadoc warnings")
}
bool("skipErrorProne") {
defaultValue.set(false)
description.set("Skip Error Prone verifications")
}
}