diff --git a/build.gradle.kts b/build.gradle.kts index 59d3bee..7a5470c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,9 +17,9 @@ import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask import org.jetbrains.dokka.gradle.DokkaMultiModuleTask -if (!JavaVersion.current().isJava11Compatible) { - logger.warn( - "This build requires Java ${JavaVersion.VERSION_11}, " + +if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { + throw GradleException( + "This build requires Java ${JavaVersion.VERSION_17}, " + "but version ${JavaVersion.current()} is currently in use." ) } diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 7417d79..807031b 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -33,8 +33,8 @@ object DependencyVersions { // object creation libraries const val kotlinxSerializationJson = "1.6.3" const val kaml = "0.59.0" - const val jakartaActivationApi = "2.1.2" - const val jakartaXmlBindApi = "4.0.1" + const val jakartaActivationApi = "2.1.3" + const val jakartaXmlBindApi = "4.0.2" const val jaxb = "4.0.5" // object mapping libraries @@ -47,7 +47,7 @@ object DependencyVersions { const val commonsCSV = "1.11.0" const val commonsLang = "3.14.0" const val commonsCompress = "1.26.1" - const val zstdJni = "1.5.5-11" + const val zstdJni = "1.5.6-3" const val emojiJava = "5.1.1" // math libraries diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7f93135..d64cd49 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2ea3535..b82aa23 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat index 93e3f59..25da30d 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail