Skip to content

Commit 2015dfa

Browse files
authored
Merge pull request #239 from ProjectMapK/develop
Release 2024-11-10 13:53:05 +0000
2 parents d91cee1 + 623edaa commit 2015dfa

File tree

27 files changed

+216
-138
lines changed

27 files changed

+216
-138
lines changed

.github/workflows/lint-and-test-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Checkout
4444
uses: actions/checkout@v4
4545
- name: Validate Gradle wrapper
46-
uses: gradle/wrapper-validation-action@v2
46+
uses: gradle/actions/wrapper-validation@v3
4747
- name: Set up java
4848
uses: actions/setup-java@v4
4949
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: git-pr-release
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
9+
- uses: actions/checkout@v4
1010
with:
1111
fetch-depth: 0
1212
- name: git-pr-release

.github/workflows/test-main.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,27 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
# LTS versions, latest version (if exists)
38-
java-version: [ '8', '11', '17', '21', '22' ]
38+
java-version: [ '8', '11', '17', '21', '23' ]
3939
# Minimum version, latest release version, latest pre-release version (if exists)
4040
kotlin:
4141
- name: '1.8.22'
4242
version: '1.8.22'
4343
k2: false
44-
- name: '1.9.23'
45-
version: '1.9.23'
44+
- name: '1.9.25'
45+
version: '1.9.25'
4646
k2: false
47-
- name: '1.9.23 K2'
48-
version: '1.9.23'
47+
- name: '1.9.25 K2'
48+
version: '1.9.25'
4949
k2: true
50-
- name: '2.0.0-Beta5'
51-
version: '2.0.0-Beta5'
50+
- name: '2.0.21'
51+
version: '2.0.21'
5252
k2: false
53-
- name: '2.0.0-Beta5 K2'
54-
version: '2.0.0-Beta5'
53+
- name: '2.0.21 K2'
54+
version: '2.0.21'
55+
k2: true
56+
- name: '2.1.0-RC'
57+
k2: false
58+
- name: '2.1.0-RC K2'
5559
k2: true
5660
env:
5761
KOTLIN_VERSION: ${{ matrix.kotlin.version }}
@@ -63,7 +67,7 @@ jobs:
6367
- name: Checkout
6468
uses: actions/checkout@v4
6569
- name: Validate Gradle wrapper
66-
uses: gradle/wrapper-validation-action@v2
70+
uses: gradle/actions/wrapper-validation@v3
6771
- name: 'Set up java ${{ matrix.java-version }}'
6872
uses: actions/setup-java@v4
6973
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This project makes several disruptive changes to achieve more `Kotlin-like` beha
3030
Details are summarized in [KogeraSpecificImplementations](./docs/KogeraSpecificImplementations.md).
3131

3232
# Compatibility
33-
- `jackson 2.16.x`
33+
- `jackson 2.17.x`
3434
- `Java 8+`
3535
- `Kotlin 1.8.22+`
3636

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ val jacksonVersion = libs.versions.jackson.get()
1616
val generatedSrcPath = "${layout.buildDirectory.get()}/generated/kotlin"
1717

1818
group = groupStr
19-
version = "${jacksonVersion}-beta13"
19+
version = "${jacksonVersion}-beta14"
2020

2121
repositories {
2222
mavenCentral()

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[versions]
22
kotlin = "1.8.22" # Mainly for CI, it can be rewritten by environment variable.
3-
jackson = "2.17.1"
3+
jackson = "2.17.3"
44

55
# test libs
6-
junit = "5.10.2"
6+
junit = "5.11.3"
77

88
[libraries]
99
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib" }
@@ -16,7 +16,7 @@ kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect" }
1616
junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
1717
junit-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
1818
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
19-
mockk = "io.mockk:mockk:1.13.10"
19+
mockk = "io.mockk:mockk:1.13.13"
2020
jackson-xml = { module = "com.fasterxml.jackson.dataformat:jackson-dataformat-xml", version.ref = "jackson" }
2121
jackson-jsr310 = { module = "com.fasterxml.jackson.datatype:jackson-datatype-jsr310", version.ref = "jackson" }
2222

gradle/wrapper/gradle-wrapper.jar

-19.7 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum
@@ -145,15 +148,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145148
case $MAX_FD in #(
146149
max*)
147150
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148-
# shellcheck disable=SC3045
151+
# shellcheck disable=SC2039,SC3045
149152
MAX_FD=$( ulimit -H -n ) ||
150153
warn "Could not query maximum file descriptor limit"
151154
esac
152155
case $MAX_FD in #(
153156
'' | soft) :;; #(
154157
*)
155158
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156-
# shellcheck disable=SC3045
159+
# shellcheck disable=SC2039,SC3045
157160
ulimit -n "$MAX_FD" ||
158161
warn "Could not set maximum file descriptor limit to $MAX_FD"
159162
esac
@@ -202,11 +205,11 @@ fi
202205
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203206
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204207

205-
# Collect all arguments for the java command;
206-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
207-
# shell script including quotes and variable substitutions, so put them in
208-
# double quotes to make sure that they get re-expanded; and
209-
# * put everything else in single quotes, so that it's not re-expanded.
208+
# Collect all arguments for the java command:
209+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210+
# and any embedded shellness will be escaped.
211+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212+
# treated as '${Hostname}' itself on the command line.
210213

211214
set -- \
212215
"-Dorg.gradle.appname=$APP_BASE_NAME" \

gradlew.bat

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
4345
%JAVA_EXE% -version >NUL 2>&1
4446
if %ERRORLEVEL% equ 0 goto execute
4547

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
48+
echo. 1>&2
49+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50+
echo. 1>&2
51+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52+
echo location of your Java installation. 1>&2
5153

5254
goto fail
5355

@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5759

5860
if exist "%JAVA_EXE%" goto execute
5961

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
62+
echo. 1>&2
63+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64+
echo. 1>&2
65+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66+
echo location of your Java installation. 1>&2
6567

6668
goto fail
6769

0 commit comments

Comments
 (0)