You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It enables automatic JDK provisioning (e.g. download), and it enables
using different JDKs for executing Gradle and for building JMeter
Java version can be specified when building with -PjdkVersion=11
You could use ./gradlew -q javaToolchains to list the detected toolchains.
See https://docs.gradle.org/8.0/userguide/toolchains.html#sec:consumingFixes#5986
Copy file name to clipboardExpand all lines: build-logic/build-parameters/build.gradle.kts
+29
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,39 @@ buildParameters {
29
29
defaultValue.set(true)
30
30
description.set("Add mavenLocal() to repositories")
31
31
}
32
+
bool("enableJavaFx") {
33
+
defaultValue.set(false)
34
+
description.set("Build and include classes that depend on JavaFX. Disabled by default since JavaFX is not included in the default Java distributions")
35
+
}
32
36
bool("coverage") {
33
37
defaultValue.set(false)
34
38
description.set("Collect test coverage")
35
39
}
40
+
integer("targetJavaVersion") {
41
+
defaultValue.set(8)
42
+
mandatory.set(true)
43
+
description.set("Java version for source and target compatibility")
44
+
}
45
+
integer("jdkBuildVersion") {
46
+
defaultValue.set(17)
47
+
mandatory.set(true)
48
+
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)")
49
+
}
50
+
string("jdkBuildVendor") {
51
+
description.set("JDK vendor to use building JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:vendors)")
52
+
}
53
+
string("jdkBuildImplementation") {
54
+
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)")
55
+
}
56
+
integer("jdkTestVersion") {
57
+
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)")
58
+
}
59
+
string("jdkTestVendor") {
60
+
description.set("JDK vendor to use testing JMeter (see https://docs.gradle.org/8.0/userguide/toolchains.html#sec:vendors)")
61
+
}
62
+
string("jdkTestImplementation") {
63
+
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)")
0 commit comments