aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-02-22 20:31:47 +0000
committerPJ Fanning <fanningpj@apache.org>2023-02-22 20:31:47 +0000
commit916e33285b0f1b9103b6b0784fa43c9c13162833 (patch)
tree779a56edf8db42c26aef7542a85ed68279acbd57 /build.gradle
parent729e012804f92f4db5f1d3e14eca62982f39d298 (diff)
downloadpoi-916e33285b0f1b9103b6b0784fa43c9c13162833.tar.gz
poi-916e33285b0f1b9103b6b0784fa43c9c13162833.zip
try to fix gradle issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 2e8a4b6919..e4fd3f4d2d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -182,8 +182,8 @@ subprojects {
java {
toolchain {
- languageVersion.set(JavaLanguageVersion.of(jdkVersion))
- if (jdkVendor != '') vendor.set(JvmVendorSpec.matching(jdkVendor))
+ languageVersion = JavaLanguageVersion.of(jdkVersion)
+ if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
}
withJavadocJar()
withSourcesJar()
@@ -268,8 +268,8 @@ subprojects {
}
javaLauncher = javaToolchains.launcherFor {
- languageVersion.set(JavaLanguageVersion.of(jdkVersion))
- if (jdkVendor != '') vendor.set(JvmVendorSpec.matching(jdkVendor))
+ languageVersion = JavaLanguageVersion.of(jdkVersion)
+ if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
}
// Exclude some tests that are not actually tests or do not run cleanly on purpose