Skip to content

Commit e43b7c1

Browse files
committed
update for 2024.1
1 parent 11f8fdf commit e43b7c1

10 files changed

+34
-28
lines changed

.github/workflows/build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: [ master ]
66
pull_request:
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
710

811
jobs:
912

@@ -25,7 +28,7 @@ jobs:
2528
- name: Gradle Wrapper Validation
2629
uses: gradle/wrapper-validation-action@v1.1.0
2730

28-
# Set up Java environment for the next steps
31+
# Set up Java environment for the next steps
2932
- name: Setup Java
3033
uses: actions/setup-java@v4
3134
with:
@@ -34,7 +37,7 @@ jobs:
3437

3538
# Setup Gradle
3639
- name: Setup Gradle
37-
uses: gradle/gradle-build-action@v2
40+
uses: gradle/actions/setup-gradle@v3
3841
with:
3942
gradle-home-cache-cleanup: true
4043

@@ -80,7 +83,7 @@ jobs:
8083

8184
# Setup Gradle
8285
- name: Setup Gradle
83-
uses: gradle/gradle-build-action@v2
86+
uses: gradle/actions/setup-gradle@v3
8487
with:
8588
gradle-home-cache-cleanup: true
8689

.run/Run Tests.run.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
2020
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
2121
<DebugAllEnabled>false</DebugAllEnabled>
22+
<RunAsTest>true</RunAsTest>
2223
<method v="2" />
2324
</configuration>
2425
</component>

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## 2.0.4 - 09.04.2024
6+
7+
- Adapt code for PhpStorm 2024.1
8+
- More readable warnings & error while connecting to servers
9+
- Friendly reminders about yubikey
10+
511
## 2.0.3 — 14.02.2024
612

713
- Adapt code for PhpStorm 2023.3

build.gradle.kts

+1-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ repositories {
2323

2424
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
2525
kotlin {
26-
@Suppress("UnstableApiUsage")
27-
jvmToolchain {
28-
languageVersion = JavaLanguageVersion.of(17)
29-
vendor = JvmVendorSpec.JETBRAINS
30-
}
26+
jvmToolchain(17)
3127
}
3228

3329
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog

gradle.properties

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ pluginName = admstorm
55
pluginRepositoryUrl = https://github.com/VKCOM/admstorm
66

77
# SemVer format -> https://semver.org
8-
pluginVersion = 2.0.3
8+
pluginVersion = 2.0.4
99

1010
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
11-
pluginSinceBuild = 233
12-
pluginUntilBuild = 233.*
11+
pluginSinceBuild = 241
12+
pluginUntilBuild = 241.*
1313

1414
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1515
platformType = IU
16-
platformVersion = 2023.3
16+
platformVersion = 2024.1
1717

1818
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1919
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
2020
# PHP Plugin - https://plugins.jetbrains.com/plugin/6610-php/versions
2121
# Terminal Plugin - https://plugins.jetbrains.com/plugin/13123-terminal/versions
22-
platformPlugins = com.jetbrains.php:233.11799.232, Git4Idea, org.jetbrains.plugins.terminal:233.11799.165, org.jetbrains.plugins.remote-run
22+
platformPlugins = com.jetbrains.php:241.14494.237, Git4Idea, org.jetbrains.plugins.terminal:241.14494.150, org.jetbrains.plugins.remote-run
2323

2424
# Gradle Releases -> https://github.com/gradle/gradle/releases
25-
gradleVersion = 8.5
25+
gradleVersion = 8.7
2626

2727
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2828
kotlin.stdlib.default.dependency = false

gradle/libs.versions.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ kotlinxSerializationJson = "1.3.3"
66
detektFormatting = "1.23.1"
77

88
# plugins
9-
kotlin = "1.9.21"
9+
kotlin = "1.9.23"
1010
changelog = "2.2.0"
11-
gradleIntelliJPlugin = "1.16.1"
11+
gradleIntelliJPlugin = "1.17.2"
1212
kotlinSerialization = "1.6.21"
1313
gradleDiktatPlugin = "1.2.5"
1414
gradleDetektPlugin = "1.23.1"

gradle/wrapper/gradle-wrapper.jar

-9 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
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.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew.bat

+10-10
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

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

5252
goto fail
5353

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

5858
if exist "%JAVA_EXE%" goto execute
5959

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.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
2+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
33
}
44

55
rootProject.name = "admstorm"

0 commit comments

Comments
 (0)