Skip to content

Commit 18a043b

Browse files
IntelliJ Update (#3)
* Dependencies: update IntelliJ-based IDE versions * Update Kotlin version * Fix DotNetCliExePath * Update pluginSinceBuild * Specify ide type for verification --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d34575d commit 18a043b

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

build.gradle.kts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import com.jetbrains.plugin.structure.base.utils.isFile
22
import org.jetbrains.changelog.markdownToHTML
33
import org.jetbrains.intellij.platform.gradle.Constants
4+
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
45
import kotlin.io.path.absolute
56
import kotlin.io.path.isDirectory
67

@@ -69,11 +70,15 @@ sourceSets {
6970
}
7071

7172
tasks.compileKotlin {
72-
kotlinOptions { jvmTarget = "21" }
73+
compilerOptions {
74+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21)
75+
}
7376
}
7477

7578
tasks.compileTestKotlin {
76-
kotlinOptions { jvmTarget = "21" }
79+
compilerOptions {
80+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21)
81+
}
7782
}
7883

7984
tasks.test {
@@ -178,7 +183,7 @@ dependencies {
178183
intellijPlatform {
179184
pluginVerification {
180185
ides {
181-
recommended()
186+
create(IntelliJPlatformType.Rider, ProductVersion)
182187
}
183188
}
184189

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RiderPluginId=com.jetbrains.rider.plugins.dotnetdisassembler
77
PluginRepositoryUrl=https://github.com/JetBrains/dotnet-disassembler-plugin
88
PluginVersion=0.1.1
99

10-
pluginSinceBuild=253
10+
pluginSinceBuild=261
1111

1212
BuildConfiguration=Debug
1313

@@ -18,10 +18,10 @@ BuildConfiguration=Debug
1818
# Release: 2020.2
1919
# EAP: 2020.3-EAP2-SNAPSHOT
2020
# Nightly: 2020.3-SNAPSHOT
21-
ProductVersion=2025.3
21+
ProductVersion=2026.1-SNAPSHOT
2222

2323
# Plugin Verification IDE Version
24-
pluginVerificationIdeVersion=2025.3
24+
pluginVerificationIdeVersion=2026.1-SNAPSHOT
2525

2626
# Kotlin 1.4 will bundle the stdlib dependency by default, causing problems with the version bundled with the IDE
2727
# https://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-rc-released/#stdlib-default

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "2.1.20" # https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
2+
kotlin = "2.3.0" # https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
33
rdGen = "2025.3.1" # https://github.com/JetBrains/rd/releases
44
changelog = "2.5.0" # https://github.com/JetBrains/gradle-changelog-plugin/releases
55

src/dotnet/ReSharperPlugin.DotNetDisassembler/JitDisasmAdapters/JitDisasmProjectContextFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ private static string GetDotNetCliExePath(ISolution solution)
3636
var protocolSolution = solution.GetProtocolSolution();
3737
var runtimeModel = protocolSolution.GetDotNetActiveRuntimeModel();
3838
var activeRuntime = runtimeModel.ActiveRuntime.Maybe.ValueOrDefault;
39-
return activeRuntime?.DotNetCliExePath;
39+
return activeRuntime?.DotNetCliExePath?.Value ?? "dotnet";
4040
}
4141
}

0 commit comments

Comments
 (0)