Skip to content

Commit f67cdb2

Browse files
Hanxiao LiuHanxiao Liu
authored andcommitted
Upgrade to IntelliJ 2025.3
1 parent 3691335 commit f67cdb2

File tree

16 files changed

+62
-46
lines changed

16 files changed

+62
-46
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ dependencies {
2121
bundledPlugin("org.jetbrains.plugins.terminal")
2222
}
2323
}
24+
25+
tasks {
26+
instrumentCode {
27+
instrumentationLogs = true
28+
}
29+
}

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cloud-shell/src/main/kotlin/com/microsoft/azure/toolkit/intellij/cloudshell/terminal/AzureCloudTerminalRunner.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package com.microsoft.azure.toolkit.intellij.cloudshell.terminal
99
import com.intellij.openapi.diagnostic.logger
1010
import com.intellij.openapi.project.Project
1111
import com.intellij.openapi.util.Disposer
12-
import com.intellij.platform.util.coroutines.namedChildScope
12+
import com.intellij.platform.util.coroutines.childScope
1313
import com.jediterm.terminal.TtyConnector
1414
import com.microsoft.azure.toolkit.intellij.cloudshell.CloudShellService
1515
import com.microsoft.azure.toolkit.intellij.cloudshell.controlchannel.CloudConsoleControlChannelClient
@@ -56,7 +56,7 @@ class AzureCloudTerminalRunner(
5656
cloudConsoleBaseUrl,
5757
project
5858
)
59-
controlClient.connect(scope.namedChildScope("CloudConsoleControlChannelClient"))
59+
controlClient.connect(scope.childScope("CloudConsoleControlChannelClient"))
6060

6161
val connector = createConnector(process)
6262
Disposer.register(connector, controlClient)
@@ -70,7 +70,7 @@ class AzureCloudTerminalRunner(
7070
private fun createConnector(process: CloudTerminalProcess) = AzureCloudProcessTtyConnector(
7171
process,
7272
project,
73-
scope.namedChildScope("AzureCloudProcessTtyConnector"),
73+
scope.childScope("AzureCloudProcessTtyConnector"),
7474
uploadFileToTerminalUrl,
7575
previewPortBaseUrl,
7676
resizeTerminalUrl

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-cosmos/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
implementation("com.microsoft.azure:azure-toolkit-identity-lib")
2020

2121
intellijPlatform {
22-
intellijIdeaUltimate(properties("platformVersion").get())
22+
// intellijIdeaUltimate(properties("platformVersion").get())
2323
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
2424
bundledPlugin("com.intellij.java")
2525
bundledPlugin("com.intellij.database")

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-guidance/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ dependencies {
55
// runtimeOnly project(path: ":azure-intellij-resource-connector-lib", configuration: "instrumentedJar")
66
implementation("com.microsoft.azure:azure-toolkit-ide-common-lib")
77
implementation("org.yaml:snakeyaml:2.2")
8+
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2") {
9+
exclude(group = "com.fasterxml.jackson", module = "jackson-bom")
10+
}
811
}

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies {
99
implementation("com.microsoft.hdinsight:azure-toolkit-ide-hdinsight-spark-lib")
1010

1111
intellijPlatform {
12-
intellijIdeaUltimate(properties("platformVersion").get())
12+
// intellijIdeaUltimate(properties("platformVersion").get())
1313
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
1414
bundledPlugin("com.intellij.java")
1515
plugin("org.intellij.scala:2024.2.5")

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/console/SparkLivySessionProcess.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ class SparkLivySessionProcess(
6363
return 0
6464
}
6565

66-
override fun setWindowSize(columns: Int, rows: Int) {
67-
68-
}
69-
7066
override fun getInputStream(): InputStream = stdOutStream
7167

7268
fun start(): Observable<Session> = session.deploy()

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-hdinsight-lib/src/main/kotlin/com/microsoft/azure/hdinsight/spark/run/SparkBatchJobProcessAdapter.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,4 @@ class SparkBatchJobProcessAdapter(val sparkJobProcess: SparkBatchJobRemoteProces
6464
override fun killProcessTree(): Boolean {
6565
return sparkJobProcess.killProcessTree()
6666
}
67-
68-
override fun setWindowSize(columns: Int, rows: Int) {
69-
70-
}
7167
}

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-lib/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ dependencies {
2020
exclude(group="pull-parser", module="pull-parser")
2121
exclude(group="net.java.dev.msv", module="xsdlib")
2222
}
23+
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2") {
24+
exclude(group = "com.fasterxml.jackson", module = "jackson-bom")
25+
}
2326
intellijPlatform {
2427
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
2528
bundledPlugin("org.jetbrains.plugins.terminal")
2629
}
2730
}
31+

PluginsAndFeatures/azure-toolkit-for-intellij/build.gradle.kts

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ allprojects {
3333

3434
java {
3535
toolchain {
36-
languageVersion = JavaLanguageVersion.of(17)
36+
languageVersion = JavaLanguageVersion.of(21)
3737
}
3838
}
3939

4040
kotlin {
41-
jvmToolchain(17)
41+
jvmToolchain(21)
4242
}
4343

4444
repositories {
@@ -55,26 +55,21 @@ allprojects {
5555

5656
intellijPlatform {
5757
buildSearchableOptions = false
58-
instrumentCode = true
58+
// instrumentCode = true
5959
}
6060

6161
dependencies {
6262
intellijPlatform {
63-
intellijIdeaUltimate(properties("platformVersion").get())
64-
// run from a local idea installation
65-
// local(File("C:\\Program Files\\JetBrains\\IntelliJ IDEA 242.16677.21"));
66-
instrumentationTools()
67-
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-jetbrains-runtime.html#declared-explicitly
68-
// jetbrainsRuntime()
63+
intellijIdeaUltimate(properties("platformVersion").get(), useInstaller = false)
6964
}
7065

7166
implementation(platform("com.microsoft.azure:azure-toolkit-libs:0.52.2"))
7267
implementation(platform("com.microsoft.azure:azure-toolkit-ide-libs:0.52.2"))
7368
implementation(platform("com.microsoft.hdinsight:azure-toolkit-ide-hdinsight-libs:0.1.1"))
7469

75-
compileOnly("org.projectlombok:lombok:1.18.24")
70+
compileOnly("org.projectlombok:lombok:1.18.32")
7671
compileOnly("org.jetbrains:annotations:24.0.0")
77-
annotationProcessor("org.projectlombok:lombok:1.18.24")
72+
annotationProcessor("org.projectlombok:lombok:1.18.32")
7873
implementation("com.microsoft.azure:azure-toolkit-common-lib:0.52.2")
7974
aspect("com.microsoft.azure:azure-toolkit-common-lib:0.52.2")
8075
}
@@ -91,21 +86,25 @@ allprojects {
9186
implementation { exclude(module = "xsdlib") }
9287
}
9388

89+
tasks.configureEach {
90+
if (name == "instrumentCode") {
91+
enabled = file("src/main/java").exists()
92+
}
93+
}
9494

9595
tasks {
96+
9697
compileJava {
97-
sourceCompatibility = "17"
98-
targetCompatibility = "17"
98+
sourceCompatibility = "21"
99+
targetCompatibility = "21"
99100
}
100101

101102
compileKotlin {
102-
kotlinOptions.jvmTarget = "17"
103103
configure<AjcAction> {
104104
enabled = false
105105
}
106106
}
107107
compileTestKotlin {
108-
kotlinOptions.jvmTarget = "17"
109108
configure<AjcAction> {
110109
enabled = false
111110
}
@@ -134,7 +133,6 @@ allprojects {
134133
intellijPlatform {
135134
projectName = "azure-toolkit-for-intellij"
136135
buildSearchableOptions = false
137-
instrumentCode = true
138136

139137
pluginConfiguration {
140138
id = properties("pluginId").get()

PluginsAndFeatures/azure-toolkit-for-intellij/gradle.properties

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
pluginVersion=3.96.2
2-
intellijDisplayVersion=2025.2
3-
intellij_version=252-EAP-SNAPSHOT
4-
platformVersion=252.23309.22
2+
intellijDisplayVersion=2025.3
3+
intellij_version=253-EAP-SNAPSHOT
4+
platformVersion=253-EAP-SNAPSHOT
55
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
6-
pluginSinceBuild=252
7-
pluginUntilBuild=252.*
6+
pluginSinceBuild=253
7+
pluginUntilBuild=253.*
88
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
9-
platformPlugins=org.intellij.scala:2025.2.9
9+
platformPlugins=org.intellij.scala:2025.3.12
1010
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1111
platformType=IU
1212
needPatchVersion=true
13-
javaVersion=17
13+
javaVersion=21
1414
applicationinsights.key=57cc111a-36a8-44b3-b044-25d293b8b77c
1515
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
1616
pluginGroup=com.microsoft.azuretools
@@ -22,7 +22,7 @@ platformDownloadSources=true
2222
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2323
kotlin.stdlib.default.dependency=false
2424
# Gradle Releases -> https://github.com/gradle/gradle/releases
25-
gradleVersion=8.8
25+
gradleVersion=8.14.1
2626
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
2727
org.gradle.configuration-cache=true
2828
org.gradle.configuration-cache.problems=warn

0 commit comments

Comments
 (0)