chore: update deps

This commit is contained in:
marhali 2025-04-24 21:07:13 +02:00
parent ac05ee0522
commit 27c29c3b4d
10 changed files with 25 additions and 40 deletions

View File

@ -40,16 +40,12 @@ jobs:
- name: Fetch Sources - name: Fetch Sources
uses: actions/checkout@v4 uses: actions/checkout@v4
# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
# Set up Java environment for the next steps # Set up Java environment for the next steps
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Setup Gradle # Setup Gradle
- name: Setup Gradle - name: Setup Gradle
@ -109,7 +105,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Setup Gradle # Setup Gradle
- name: Setup Gradle - name: Setup Gradle
@ -129,7 +125,7 @@ jobs:
# Upload the Kover report to CodeCov # Upload the Kover report to CodeCov
- name: Upload Code Coverage Report - name: Upload Code Coverage Report
uses: codecov/codecov-action@v4 uses: codecov/codecov-action@v5
with: with:
files: ${{ github.workspace }}/build/reports/kover/report.xml files: ${{ github.workspace }}/build/reports/kover/report.xml
@ -163,7 +159,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Run Qodana inspections # Run Qodana inspections
- name: Qodana - Code Inspection - name: Qodana - Code Inspection
@ -194,7 +190,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Setup Gradle # Setup Gradle
- name: Setup Gradle - name: Setup Gradle

View File

@ -18,14 +18,6 @@ jobs:
pull-requests: write pull-requests: write
steps: steps:
# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
# jlumbroso/free-disk-space@v1.3.1:
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: false
large-packages: false
# Check out the current repository # Check out the current repository
- name: Fetch Sources - name: Fetch Sources
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -37,7 +29,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Setup Gradle # Setup Gradle
- name: Setup Gradle - name: Setup Gradle

View File

@ -40,7 +40,7 @@ jobs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: zulu distribution: zulu
java-version: 17 java-version: 21
# Setup Gradle # Setup Gradle
- name: Setup Gradle - name: Setup Gradle

View File

@ -16,7 +16,7 @@ version = providers.gradleProperty("pluginVersion").get()
// Set the JVM language level used to build the project. // Set the JVM language level used to build the project.
kotlin { kotlin {
jvmToolchain(17) jvmToolchain(21)
} }
// Configure project's dependencies // Configure project's dependencies
@ -31,11 +31,11 @@ repositories {
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
dependencies { dependencies {
// implementation(libs.annotations)
implementation(libs.json5.java) implementation(libs.json5.java)
implementation(libs.commons.lang3) implementation(libs.commons.lang3)
implementation(libs.commons.text) implementation(libs.commons.text)
testImplementation(libs.junit) testImplementation(libs.junit)
testImplementation(libs.opentest4j)
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
intellijPlatform { intellijPlatform {
@ -47,9 +47,6 @@ dependencies {
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace. // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') }) plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
instrumentationTools()
pluginVerifier()
zipSigner()
testFramework(TestFrameworkType.Platform) testFramework(TestFrameworkType.Platform)
} }
} }
@ -57,6 +54,7 @@ dependencies {
// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html // Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
intellijPlatform { intellijPlatform {
pluginConfiguration { pluginConfiguration {
name = providers.gradleProperty("pluginName")
version = providers.gradleProperty("pluginVersion") version = providers.gradleProperty("pluginVersion")
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest // Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest

View File

@ -21,7 +21,7 @@ platformPlugins = com.jetbrains.php:233.15619.9
platformBundledPlugins = org.jetbrains.kotlin, JavaScript platformBundledPlugins = org.jetbrains.kotlin, JavaScript
# Gradle Releases -> https://github.com/gradle/gradle/releases # Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion = 8.10.2 gradleVersion = 8.13
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib # Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency = false kotlin.stdlib.default.dependency = false

View File

@ -1,24 +1,24 @@
[versions] [versions]
# libraries # libraries
annotations = "24.1.0"
json5-java = "2.0.0" json5-java = "2.0.0"
commons-lang3 = "3.14.0" commons-lang3 = "3.14.0"
commons-text = "1.11.0" commons-text = "1.11.0"
junit = "4.13.2" junit = "4.13.2"
opentest4j = "1.3.0"
# plugins # plugins
changelog = "2.2.1" changelog = "2.2.1"
intelliJPlatform = "2.1.0" intelliJPlatform = "2.5.0"
kotlin = "1.9.25" kotlin = "2.1.20"
kover = "0.8.3" kover = "0.9.1"
qodana = "2024.2.3" qodana = "2024.3.4"
[libraries] [libraries]
annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" }
json5-java = { group = "de.marhali", name = "json5-java", version.ref = "json5-java" } json5-java = { group = "de.marhali", name = "json5-java", version.ref = "json5-java" }
commons-lang3 = { group = "org.apache.commons", name = "commons-lang3", version.ref = "commons-lang3" } commons-lang3 = { group = "org.apache.commons", name = "commons-lang3", version.ref = "commons-lang3" }
commons-text = { group = "org.apache.commons", name = "commons-text", version.ref = "commons-text" } commons-text = { group = "org.apache.commons", name = "commons-text", version.ref = "commons-text" }
junit = { group = "junit", name = "junit", version.ref = "junit" } junit = { group = "junit", name = "junit", version.ref = "junit" }
opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" }
[plugins] [plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }

View File

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

5
gradlew vendored
View File

@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum
@ -249,4 +248,4 @@ eval "set -- $(
tr '\n' ' ' tr '\n' ' '
)" '"$@"' )" '"$@"'
exec "$JAVACMD" "$@" exec "$JAVACMD" "$@"

2
gradlew.bat vendored
View File

@ -91,4 +91,4 @@ exit /b %EXIT_CODE%
:mainEnd :mainEnd
if "%OS%"=="Windows_NT" endlocal if "%OS%"=="Windows_NT" endlocal
:omega :omega

View File

@ -1,9 +1,9 @@
# Qodana configuration: # Qodana configuration:
# https://www.jetbrains.com/help/qodana/qodana-yaml.html # https://www.jetbrains.com/help/qodana/qodana-yaml.html
version: 1.0 version: "1.0"
linter: jetbrains/qodana-jvm-community:2024.2 linter: jetbrains/qodana-jvm-community:2024.3
projectJDK: "17" projectJDK: "21"
profile: profile:
name: qodana.recommended name: qodana.recommended
exclude: exclude: