diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6e7056..9f236af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,13 @@ jobs: strategy: matrix: - version: [ 18, 19, 20, 21, 22 ] + version: [ 18, 19, 20, 21, 22, 23 ] vector-length: [ 256, 512 ] steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 + - uses: gradle/actions/wrapper-validation@v4 - name: Set up JDK ${{ matrix.version }} uses: actions/setup-java@v4 @@ -23,7 +23,7 @@ jobs: java-version: ${{ matrix.version }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 - name: Tests run: ./gradlew test${{ matrix.vector-length }} diff --git a/build.gradle b/build.gradle index 60e5f4b..4bcf450 100644 --- a/build.gradle +++ b/build.gradle @@ -43,20 +43,20 @@ java { } ext { - junitVersion = '5.10.2' - jsoniterScalaVersion = '2.28.4' + junitVersion = '5.12.0' + jsoniterScalaVersion = '2.33.2' } dependencies { - jmhImplementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.17.0' - jmhImplementation group: 'com.alibaba.fastjson2', name: 'fastjson2', version: '2.0.49' + jmhImplementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.2' + jmhImplementation group: 'com.alibaba.fastjson2', name: 'fastjson2', version: '2.0.56' jmhImplementation group: 'com.github.plokhotnyuk.jsoniter-scala', name: 'jsoniter-scala-core_2.13', version: jsoniterScalaVersion - jmhImplementation group: 'com.google.guava', name: 'guava', version: '32.1.2-jre' + jmhImplementation group: 'com.google.guava', name: 'guava', version: '33.4.0-jre' compileOnly group: 'com.github.plokhotnyuk.jsoniter-scala', name: 'jsoniter-scala-macros_2.13', version: jsoniterScalaVersion - testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.24.2' - testImplementation group: 'org.apache.commons', name: 'commons-text', version: '1.10.0' - testImplementation group: 'org.junit-pioneer', name: 'junit-pioneer', version: '2.2.0' + testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.27.3' + testImplementation group: 'org.apache.commons', name: 'commons-text', version: '1.13.0' + testImplementation group: 'org.junit-pioneer', name: 'junit-pioneer', version: '2.3.0' testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitVersion testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junitVersion testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitVersion diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index e644113..9bbc975 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 a441313..37f853b 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.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index b740cf1..faf9300 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -84,7 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -203,7 +205,7 @@ fi DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' # Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, # and any embedded shellness will be escaped. # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be # treated as '${Hostname}' itself on the command line. diff --git a/gradlew.bat b/gradlew.bat index 7101f8e..9b42019 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ##########################################################################