Skip to content

Commit 570cb36

Browse files
authored
version 2.0.4 for PhpStorm 2024.1 (#229)
1 parent 11f8fdf commit 570cb36

9 files changed

+33
-31
lines changed

.github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [ master ]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913

1014
# Prepare environment and build the plugin
@@ -34,7 +38,7 @@ jobs:
3438

3539
# Setup Gradle
3640
- name: Setup Gradle
37-
uses: gradle/gradle-build-action@v2
41+
uses: gradle/actions/setup-gradle@v3
3842
with:
3943
gradle-home-cache-cleanup: true
4044

@@ -80,7 +84,7 @@ jobs:
8084

8185
# Setup Gradle
8286
- name: Setup Gradle
83-
uses: gradle/gradle-build-action@v2
87+
uses: gradle/actions/setup-gradle@v3
8488
with:
8589
gradle-home-cache-cleanup: true
8690

.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

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

33
## [Unreleased]
44

5+
## 2.0.4 - 02.05.2024
6+
7+
- Adapt code for PhpStorm 2024.1
8+
59
## 2.0.3 — 14.02.2024
610

711
- Adapt code for PhpStorm 2023.3

build.gradle.kts

+2-6
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,9 @@ repositories {
2121
mavenCentral()
2222
}
2323

24-
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
24+
// Set the JVM language level used to build the project.
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-9
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.240, 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.6
2626

2727
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2828
kotlin.stdlib.default.dependency = false
@@ -32,6 +32,3 @@ org.gradle.configuration-cache = true
3232

3333
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
3434
org.gradle.caching = true
35-
36-
# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment
37-
systemProp.org.gradle.unsafe.kotlin.assignment = true

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.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.6-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)