Skip to content

Commit f640b39

Browse files
committed
chore: Update IntelliJ Platform 2.2.0
1 parent a832d06 commit f640b39

File tree

13 files changed

+59
-52
lines changed

13 files changed

+59
-52
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ jobs:
1515
outputs:
1616
version: ${{ steps.properties.outputs.version }}
1717
changelog: ${{ steps.properties.outputs.changelog }}
18-
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
1918
steps:
19+
# Free GitHub Actions Environment Disk Space
20+
- name: Maximize Build Space
21+
uses: jlumbroso/[email protected]
22+
with:
23+
tool-cache: false
24+
large-packages: false
2025

2126
# Check out current repository
2227
- name: Fetch Sources
@@ -38,7 +43,7 @@ jobs:
3843
uses: actions/setup-java@v4
3944
with:
4045
distribution: zulu
41-
java-version: 17
46+
java-version: 21
4247

4348
# Setup Java environment for the next steps
4449
- name: Setup Gradle
@@ -54,7 +59,6 @@ jobs:
5459
CHANGELOG="$(./gradlew getChangelog --console=plain -q)"
5560
5661
echo "version=$VERSION" >> $GITHUB_OUTPUT
57-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
5862
5963
echo "changelog<<EOF" >> $GITHUB_OUTPUT
6064
echo "$CHANGELOG" >> $GITHUB_OUTPUT
@@ -90,7 +94,7 @@ jobs:
9094
steps:
9195
# Free GitHub Actions Environment Disk Space
9296
- name: Maximize Build Space
93-
uses: jlumbroso/free-disk-space@main
97+
uses: jlumbroso/free-disk-space@v1.3.1
9498
with:
9599
tool-cache: false
96100
large-packages: false
@@ -104,11 +108,13 @@ jobs:
104108
uses: actions/setup-java@v4
105109
with:
106110
distribution: zulu
107-
java-version: 17
111+
java-version: 21
108112

109113
# Setup Gradle
110114
- name: Setup Gradle
111115
uses: gradle/actions/setup-gradle@v4
116+
with:
117+
cache-read-only: true
112118

113119
# Run tests
114120
- name: Run Tests
@@ -136,7 +142,7 @@ jobs:
136142
steps:
137143
# Free GitHub Actions Environment Disk Space
138144
- name: Maximize Build Space
139-
uses: jlumbroso/free-disk-space@main
145+
uses: jlumbroso/free-disk-space@v1.3.1
140146
with:
141147
tool-cache: false
142148
large-packages: false
@@ -150,7 +156,7 @@ jobs:
150156
uses: actions/setup-java@v4
151157
with:
152158
distribution: zulu
153-
java-version: 17
159+
java-version: 21
154160

155161
# Setup Gradle
156162
- name: Setup Gradle
@@ -160,12 +166,11 @@ jobs:
160166
- name: Setup Plugin Verifier IDEs Cache
161167
uses: actions/cache@v4
162168
with:
163-
path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
164-
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
169+
cache-read-only: true
165170

166171
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
167172
- name: Run Plugin Verification tasks
168-
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
173+
run: ./gradlew verifyPlugin
169174

170175
# Collect Plugin Verifier Result
171176
- name: Collect Plugin Verifier Result

.github/workflows/test.yml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
outputs:
1212
version: ${{ steps.properties.outputs.version }}
1313
changelog: ${{ steps.properties.outputs.changelog }}
14-
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
1514
steps:
16-
1715
# Free GitHub Actions Environment Disk Space
1816
- name: Maximize Build Space
19-
uses: jlumbroso/free-disk-space@main
17+
uses: jlumbroso/free-disk-space@v1.3.1
2018
with:
2119
tool-cache: false
2220
large-packages: false
@@ -35,19 +33,17 @@ jobs:
3533
# Validate wrapper
3634
- name: Gradle Wrapper Validation
3735
uses: gradle/actions/wrapper-validation@v3
38-
36+
3937
# Setup Java environment for the next steps
4038
- name: Setup Java
4139
uses: actions/setup-java@v4
4240
with:
4341
distribution: zulu
44-
java-version: 17
42+
java-version: 21
4543

4644
# Setup Java environment for the next steps
4745
- name: Setup Gradle
48-
uses: gradle/gradle-build-action@v2
49-
with:
50-
gradle-home-cache-cleanup: true
46+
uses: gradle/actions/setup-gradle@v4
5147

5248
# Set environment variables
5349
- name: Export Properties
@@ -56,10 +52,9 @@ jobs:
5652
run: |
5753
PROPERTIES="$(./gradlew properties --console=plain -q)"
5854
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
59-
CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
55+
CHANGELOG="$(./gradlew getChangelog --console=plain -q)"
6056
6157
echo "version=$VERSION" >> $GITHUB_OUTPUT
62-
echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
6358
6459
echo "changelog<<EOF" >> $GITHUB_OUTPUT
6560
echo "$CHANGELOG" >> $GITHUB_OUTPUT
@@ -86,37 +81,36 @@ jobs:
8681
with:
8782
name: ${{ steps.artifact.outputs.filename }}
8883
path: ./build/distributions/content/*/*
89-
84+
9085
# Run tests and upload a code coverage report
9186
test:
9287
name: Test
9388
needs: build
9489
runs-on: ubuntu-latest
9590
steps:
96-
9791
# Free GitHub Actions Environment Disk Space
9892
- name: Maximize Build Space
99-
uses: jlumbroso/free-disk-space@main
93+
uses: jlumbroso/free-disk-space@v1.3.1
10094
with:
10195
tool-cache: false
10296
large-packages: false
10397

10498
# Check out current repository
10599
- name: Fetch Sources
106100
uses: actions/checkout@v4
107-
101+
108102
# Setup Java environment for the next steps
109103
- name: Setup Java
110104
uses: actions/setup-java@v4
111105
with:
112106
distribution: zulu
113-
java-version: 17
107+
java-version: 21
114108

115109
# Setup Gradle
116110
- name: Setup Gradle
117-
uses: gradle/gradle-build-action@v2
111+
uses: gradle/actions/setup-gradle@v4
118112
with:
119-
gradle-home-cache-cleanup: true
113+
cache-read-only: true
120114

121115
# Run tests
122116
- name: Run Tests
@@ -132,27 +126,33 @@ jobs:
132126

133127
# Upload Kover report to CodeCov
134128
- name: Upload Code Coverage Report
135-
uses: codecov/codecov-action@v5
129+
uses: codecov/codecov-action@v3
136130
with:
137131
files: ${{ github.workspace }}/build/reports/kover/report.xml
138-
132+
139133
# Run plugin structure verification along with IntelliJ Plugin Verifier
140134
verify:
141135
name: Verify plugin
142136
needs: build
143137
runs-on: ubuntu-latest
144138
steps:
139+
# Free GitHub Actions Environment Disk Space
140+
- name: Maximize Build Space
141+
uses: jlumbroso/[email protected]
142+
with:
143+
tool-cache: false
144+
large-packages: false
145145

146146
# Check out current repository
147147
- name: Fetch Sources
148148
uses: actions/checkout@v4
149-
149+
150150
# Setup Java environment for the next steps
151151
- name: Setup Java
152152
uses: actions/setup-java@v4
153153
with:
154154
distribution: zulu
155-
java-version: 17
155+
java-version: 21
156156

157157
# Setup Gradle
158158
- name: Setup Gradle
@@ -162,12 +162,11 @@ jobs:
162162
- name: Setup Plugin Verifier IDEs Cache
163163
uses: actions/cache@v4
164164
with:
165-
path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
166-
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
165+
cache-read-only: true
167166

168167
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
169168
- name: Run Plugin Verification tasks
170-
run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
169+
run: ./gradlew verifyPlugin
171170

172171
# Collect Plugin Verifier Result
173172
- name: Collect Plugin Verifier Result

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.idea
33
.qodana
44
build
5-
.intellijPlatform
5+
.intellijPlatform
6+
.kotlin

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## [Unreleased]
44

5+
### Changed
6+
7+
- Update IntelliJ Platform 2.2.0
58

69
## [2025.1.0]
710

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ intellijPlatform {
8282

8383
ideaVersion {
8484
sinceBuild = providers.gradleProperty("pluginSinceBuild")
85-
untilBuild = providers.gradleProperty("pluginUntilBuild")
8685
}
8786
}
8887

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ pluginGroup = ru.panteleev.bitrix-idea
22
pluginName = Bitrix Idea
33
pluginRepositoryUrl = https://github.com/saundefined/bitrix-idea
44
pluginVersion = 2025.1.0
5-
pluginSinceBuild = 242
5+
pluginSinceBuild = 243
66
pluginUntilBuild = 252.*
77
platformType = IC
8-
platformVersion = 2024.2.5
8+
platformVersion = 2024.3.6
99
platformPlugins =
1010
platformBundledPlugins =
11-
gradleVersion = 8.13
11+
gradleVersion = 8.14.3
1212
kotlin.stdlib.default.dependency = false
1313
org.gradle.configuration-cache = true
1414
org.gradle.caching = true

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ junit = "4.13.2"
44
opentest4j = "1.3.0"
55

66
# plugins
7-
changelog = "2.2.1"
8-
intelliJPlatform = "2.5.0"
9-
kotlin = "2.1.20"
7+
changelog = "2.3.0"
8+
intelliJPlatform = "2.7.0"
9+
kotlin = "2.2.0"
1010
kover = "0.9.1"
11-
qodana = "2024.3.4"
11+
qodana = "2025.1.1"
1212

1313
[libraries]
1414
junit = { group = "junit", name = "junit", version.ref = "junit" }

gradle/wrapper/gradle-wrapper.jar

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

gradlew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

0 commit comments

Comments
 (0)