Skip to content

Commit 15780c9

Browse files
Upgrade to 2022.3v (#218)
* Rider upgrade to v2022.3 * upgrade to 2022.3 * remove deprecated ProjectOpenedListener * upgrade github workflows to use jdk 17 * filter listProductsReleases to release channel * listProductsReleases release channel * upgrade rider 2022.3.1 * upgrade resharper sdk to 2022.3.1 * implement new methods in ICodeInsightsProvider * support only 223 * remove unnecessary gradle code Co-authored-by: Mykola Yaremchuk <[email protected]>
1 parent 219d682 commit 15780c9

File tree

23 files changed

+63
-69
lines changed

23 files changed

+63
-69
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Java
3737
uses: actions/setup-java@v3
3838
with:
39-
java-version: '11'
39+
java-version: '17'
4040
distribution: 'corretto'
4141

4242
- name: Setup dotnet

.github/workflows/gradle-ci-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Java
2525
uses: actions/setup-java@v3
2626
with:
27-
java-version: '11'
27+
java-version: '17'
2828
distribution: 'corretto'
2929

3030
- name: Setup dotnet

.github/workflows/gradle-ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Java
2020
uses: actions/setup-java@v3
2121
with:
22-
java-version: '11'
22+
java-version: '17'
2323
distribution: 'corretto'
2424

2525
- name: Setup dotnet
@@ -46,6 +46,19 @@ jobs:
4646
retention-days: 5
4747

4848

49+
- name: Run Plugin Verifier
50+
run: ./gradlew runPluginVerifier --no-daemon
51+
52+
- name: Collect Plugin Verifier Result
53+
if: ${{ always() }}
54+
uses: actions/upload-artifact@v3
55+
with:
56+
name: pluginVerifier-result
57+
path: ${{ github.workspace }}/build/reports/pluginVerifier
58+
retention-days: 5
59+
60+
61+
4962
- name: Prepare Plugin Artifact
5063
id: artifact
5164
shell: bash

.github/workflows/multi-os-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Java
2727
uses: actions/setup-java@v3
2828
with:
29-
java-version: '11'
29+
java-version: '17'
3030
distribution: 'corretto'
3131

3232
- name: Setup dotnet

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Java
2525
uses: actions/setup-java@v3
2626
with:
27-
java-version: '11'
27+
java-version: '17'
2828
distribution: 'corretto'
2929

3030
- name: Setup dotnet
@@ -36,6 +36,8 @@ jobs:
3636
- name: Validate Gradle wrapper
3737
uses: gradle/[email protected]
3838

39+
- name: Run Plugin Verifier
40+
run: ./gradlew runPluginVerifier --no-daemon
3941

4042
- name: Export Properties
4143
id: properties

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/setup-java@v2
4141
with:
4242
distribution: zulu
43-
java-version: 11
43+
java-version: 17
4444
cache: gradle
4545

4646
# Run IDEA prepared for UI testing

.run/Run Qodana.run.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@
99
<option name="executionName" />
1010
<option name="externalProjectPath" value="$PROJECT_DIR$" />
1111
<option name="externalSystemIdString" value="GRADLE" />
12-
<option name="scriptParameters" value="cleanInspections runInspections" />
12+
<option name="scriptParameters" value="" />
1313
<option name="taskDescriptions">
1414
<list />
1515
</option>
1616
<option name="taskNames">
17-
<list />
17+
<list>
18+
<option value="cleanInspections" />
19+
<option value="runInspections" />
20+
</list>
1821
</option>
1922
<option name="vmOptions" />
2023
</ExternalSystemSettings>

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import common.properties
22
import org.jetbrains.changelog.date
33
import org.jetbrains.changelog.markdownToHTML
4+
import org.jetbrains.intellij.tasks.ListProductsReleasesTask
45
import java.util.EnumSet
56

67
fun properties(key: String) = properties(key,project)
@@ -167,16 +168,15 @@ tasks {
167168
// github fails with no space left on device for all versions
168169
listProductsReleases {
169170
types.set(listOf("RD","IC"))
170-
sinceVersion.set("2022.2")
171+
sinceVersion.set("2022.3")
171172
untilVersion.set("2022.3.*")
172173
// sinceBuild.set("222.3739.36")
173174
// untilBuild.set("222.4167.24")
174-
releaseChannels.set(EnumSet.of(org.jetbrains.intellij.tasks.ListProductsReleasesTask.Channel.RELEASE))
175+
releaseChannels.set(EnumSet.of(ListProductsReleasesTask.Channel.RELEASE))
175176
}
176177

177178

178179
runPluginVerifier {
179-
// ideVersions.set(listOf())
180180
subsystemsToCheck.set("without-android")
181181
}
182182

buildSrc/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ repositories {
1212

1313
dependencies {
1414
//Note: gradle-intellij-plugin 1.5.3 has some bugs with runIde that does not detect changes in kotlin UI DSL
15-
implementation("org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.9.0")
16-
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
15+
implementation("org.jetbrains.intellij.plugins:gradle-intellij-plugin:1.11.0")
16+
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21")
1717
implementation("com.dorongold.plugins:task-tree:2.1.0")
1818
implementation("com.glovoapp.semantic-versioning:com.glovoapp.semantic-versioning.gradle.plugin:1.1.10")
1919
}
2020

2121

2222
java {
23-
toolchain.languageVersion.set(JavaLanguageVersion.of(11))
23+
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
2424
}
2525

2626
kotlin {
2727
jvmToolchain {
28-
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of("11"))
28+
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of("17"))
2929
}
3030
}
3131

@@ -59,4 +59,4 @@ tasks {
5959
}
6060
})
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)