Skip to content

Commit 427dc4e

Browse files
authored
Merge pull request #436 from JetBrains/next
1.12.0
2 parents 79e96a1 + 9cb309f commit 427dc4e

File tree

10 files changed

+50
-31
lines changed

10 files changed

+50
-31
lines changed

.github/template-cleanup/gradle.properties

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pluginVersion = 0.0.1
88

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

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1414
platformType = IC
@@ -19,7 +19,7 @@ platformVersion = 2022.3.3
1919
platformPlugins =
2020

2121
# Gradle Releases -> https://github.com/gradle/gradle/releases
22-
gradleVersion = 8.5
22+
gradleVersion = 8.6
2323

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

3030
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
3131
org.gradle.caching = true
32-
33-
# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment
34-
systemProp.org.gradle.unsafe.kotlin.assignment = true

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
# Trigger the workflow on any pull request
2121
pull_request:
2222

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25+
cancel-in-progress: true
26+
2327
jobs:
2428

2529
# Prepare environment and build the plugin
@@ -49,7 +53,7 @@ jobs:
4953

5054
# Setup Gradle
5155
- name: Setup Gradle
52-
uses: gradle/gradle-build-action@v2
56+
uses: gradle/actions/setup-gradle@v3
5357
with:
5458
gradle-home-cache-cleanup: true
5559

@@ -113,7 +117,7 @@ jobs:
113117

114118
# Setup Gradle
115119
- name: Setup Gradle
116-
uses: gradle/gradle-build-action@v2
120+
uses: gradle/actions/setup-gradle@v3
117121
with:
118122
gradle-home-cache-cleanup: true
119123

@@ -166,7 +170,7 @@ jobs:
166170

167171
# Run Qodana inspections
168172
- name: Qodana - Code Inspection
169-
uses: JetBrains/qodana-action@v2023.2.8
173+
uses: JetBrains/qodana-action@v2023.3.1
170174
with:
171175
cache-default-branch-only: true
172176

@@ -197,7 +201,7 @@ jobs:
197201

198202
# Setup Gradle
199203
- name: Setup Gradle
200-
uses: gradle/gradle-build-action@v2
204+
uses: gradle/actions/setup-gradle@v3
201205
with:
202206
gradle-home-cache-cleanup: true
203207

@@ -256,7 +260,7 @@ jobs:
256260
env:
257261
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
258262
run: |
259-
gh release create v${{ needs.build.outputs.version }} \
263+
gh release create "v${{ needs.build.outputs.version }}" \
260264
--draft \
261265
--title "v${{ needs.build.outputs.version }}" \
262266
--notes "$(cat << 'EOM'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
# Setup Gradle
3535
- name: Setup Gradle
36-
uses: gradle/gradle-build-action@v2
36+
uses: gradle/actions/setup-gradle@v3
3737
with:
3838
gradle-home-cache-cleanup: true
3939

.github/workflows/run-ui-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Setup Gradle
4646
- name: Setup Gradle
47-
uses: gradle/gradle-build-action@v2
47+
uses: gradle/actions/setup-gradle@v3
4848
with:
4949
gradle-home-cache-cleanup: true
5050

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- GitHub Actions: Reduce the number of concurrent builds
10+
11+
### Changed
12+
13+
- Change since/until build to `223-241.*` (2022.3-2024.1.*)
14+
- Upgrade Gradle Wrapper to `8.6`
15+
- Dependencies - upgrade `org.jetbrains.intellij` to `1.17.2`
16+
- Dependencies (GitHub Actions) - upgrade `gradle/gradle-build-action@v2` to `gradle/actions/setup-gradle@v3`
17+
- Dependencies (GitHub Actions) - upgrade `JetBrains/qodana-action` to `v2023.3.1`
18+
19+
### Fixed
20+
21+
- Adjusted obtaining the value for `publishPlugin.channels` property in `build.gradle.kts`
22+
- Fixed bash variable access in the Create Release Draft step.
23+
24+
### Removed
25+
26+
- Remove Gradle Kotlin DSL Lazy Property Assignment because it's default now
27+
728
## [1.11.3] - 2023-12-01
829

930
### Changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ tasks {
126126
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
127127
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
128128
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
129-
channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
129+
channels = properties("pluginVersion").map { listOf(it.substringAfter('-').substringBefore('.').ifEmpty { "default" }) }
130130
}
131131
}

gradle.properties

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ pluginGroup = org.jetbrains.plugins.template
44
pluginName = IntelliJ Platform Plugin Template
55
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
66
# SemVer format -> https://semver.org
7-
pluginVersion = 1.11.3
7+
pluginVersion = 1.12.0
88

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

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1414
platformType = IC
@@ -19,7 +19,7 @@ platformVersion = 2022.3.3
1919
platformPlugins =
2020

2121
# Gradle Releases -> https://github.com/gradle/gradle/releases
22-
gradleVersion = 8.5
22+
gradleVersion = 8.6
2323

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

3030
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
3131
org.gradle.caching = true
32-
33-
# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment
34-
systemProp.org.gradle.unsafe.kotlin.assignment = true

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations = "24.1.0"
55
# plugins
66
kotlin = "1.9.21"
77
changelog = "2.2.0"
8-
gradleIntelliJPlugin = "1.16.1"
8+
gradleIntelliJPlugin = "1.17.2"
99
qodana = "0.1.13"
1010
kover = "0.7.5"
1111

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

Lines changed: 10 additions & 10 deletions
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

0 commit comments

Comments
 (0)