Skip to content

Commit 6c58614

Browse files
authored
Upgrading IntelliJ from 2024.1.5 to 2024.2.0 (#396)
1 parent caf328f commit 6c58614

13 files changed

+412
-303
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5555
timeout-minutes: 1
5656

57-
# Setup Java 17 environment for the next steps
58-
- name: Setup Java 17
57+
# Setup Java environment for the next steps
58+
- name: Setup Java
5959
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
6060
timeout-minutes: 5
6161
with:
6262
distribution: zulu
63-
java-version: 17
63+
java-version: 21
6464
cache: gradle
6565

6666
# Set environment variables
@@ -97,7 +97,7 @@ jobs:
9797

9898
# Run IntelliJ Plugin Verifier action using GitHub Action
9999
- name: Run Plugin Verifier
100-
run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
100+
run: ./gradlew verifyPlugin -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
101101

102102
# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs
103103
# Requires test job to be passed
@@ -117,13 +117,13 @@ jobs:
117117
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
118118
timeout-minutes: 1
119119

120-
# Setup Java 17 environment for the next steps
121-
- name: Setup Java 17
120+
# Setup Java environment for the next steps
121+
- name: Setup Java
122122
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
123123
timeout-minutes: 5
124124
with:
125125
distribution: zulu
126-
java-version: 17
126+
java-version: 21
127127
cache: gradle
128128

129129
# Set environment variables

.github/workflows/compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2929
timeout-minutes: 1
3030

31-
- name: Setup Java 17
31+
- name: Setup Java
3232
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
3333
timeout-minutes: 5
3434
with:
35-
java-version: 17
35+
java-version: 21
3636
distribution: 'zulu'
3737
cache: gradle
3838

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
with:
2323
ref: ${{ github.event.release.tag_name }}
2424

25-
# Setup Java 17 environment for the next steps
26-
- name: Setup Java 17
25+
# Setup Java environment for the next steps
26+
- name: Setup Java
2727
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
2828
timeout-minutes: 5
2929
with:
3030
distribution: zulu
31-
java-version: 17
31+
java-version: 21
3232
cache: gradle
3333

3434
# Set environment variables

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
*.iws
44
.gradle/
55
.qodana/
6+
.shelf/
67
build/
78
gradle/
89
out/
910
gradlew*
1011
jetbrainsCredentials.gradle
1112
private.pem
1213
chain.crt
13-
*.DS_Store
14+
*.DS_Store
15+
.idea/
16+
.installedPlugins/
17+
.intellijPlatform/

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
### Added
88

99
### Changed
10+
- Upgrading IntelliJ from 2024.1.5 to 2024.2.0
11+
- Changed gradle build to Kotlin DSL (from Groovy DSL) in preparation of `IntelliJ Platform Gradle Plugin 2.0.0`.
1012

1113
### Deprecated
1214

build.gradle

Lines changed: 0 additions & 6 deletions
This file was deleted.

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins {
2+
id("build-standard-jetbrains-plugin-build")
3+
}

buildSrc/build.gradle.kts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
plugins {
2+
`kotlin-dsl`
3+
}
4+
5+
repositories {
6+
mavenCentral()
7+
maven {
8+
url = uri("https://plugins.gradle.org/m2/")
9+
}
10+
}
11+
12+
dependencies {
13+
implementation("org.jetbrains.intellij.platform:intellij-platform-gradle-plugin:2.0.1")
14+
implementation("org.jetbrains.intellij.plugins:gradle-changelog-plugin:2.2.1")
15+
implementation("com.dorongold.plugins:task-tree:4.0.0") // provides `taskTree` task (e.g. `./gradlew build taskTree`; docs: https://github.com/dorongold/gradle-task-tree)
16+
}
17+

0 commit comments

Comments
 (0)