mirror of https://github.com/apache/poi.git
try to fix gradle issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
729e012804
commit
916e33285b
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||
networkTimeout=10000
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -92,8 +92,8 @@ final String OOXML_LITE_INCLUDES = "^(com/microsoft/schemas|org/(etsi|openxmlfor
|
|||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(jdkVersion))
|
||||
if (jdkVendor != '') vendor.set(JvmVendorSpec.matching(jdkVendor))
|
||||
languageVersion = JavaLanguageVersion.of(jdkVersion)
|
||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@ final MODULE_NAME = 'org.apache.poi.ooxml_lite'
|
|||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(jdkVersion))
|
||||
if (jdkVendor != '') vendor.set(JvmVendorSpec.matching(jdkVendor))
|
||||
languageVersion = JavaLanguageVersion.of(jdkVersion)
|
||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -83,8 +83,8 @@ task compileOoxmlLite(type: Copy) {
|
|||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(jdkVersion))
|
||||
if (jdkVendor != '') vendor.set(JvmVendorSpec.matching(jdkVendor))
|
||||
languageVersion = JavaLanguageVersion.of(jdkVersion)
|
||||
if (jdkVendor != '') vendor = JvmVendorSpec.matching(jdkVendor)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue