-
Notifications
You must be signed in to change notification settings - Fork 177
Add support for IntelliJ EAP 2025.3 #11391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop.next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -33,12 +33,12 @@ allprojects { | |||||||||||||
|
|
||||||||||||||
| java { | ||||||||||||||
| toolchain { | ||||||||||||||
| languageVersion = JavaLanguageVersion.of(17) | ||||||||||||||
| languageVersion = JavaLanguageVersion.of(21) | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| kotlin { | ||||||||||||||
| jvmToolchain(17) | ||||||||||||||
| jvmToolchain(21) | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| repositories { | ||||||||||||||
|
|
@@ -55,26 +55,21 @@ allprojects { | |||||||||||||
|
|
||||||||||||||
| intellijPlatform { | ||||||||||||||
| buildSearchableOptions = false | ||||||||||||||
| instrumentCode = true | ||||||||||||||
| // instrumentCode = true | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| dependencies { | ||||||||||||||
| intellijPlatform { | ||||||||||||||
| intellijIdeaUltimate(properties("platformVersion").get()) | ||||||||||||||
| // run from a local idea installation | ||||||||||||||
| // local(File("C:\\Program Files\\JetBrains\\IntelliJ IDEA 242.16677.21")); | ||||||||||||||
| instrumentationTools() | ||||||||||||||
| // https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-jetbrains-runtime.html#declared-explicitly | ||||||||||||||
| // jetbrainsRuntime() | ||||||||||||||
| intellijIdeaUltimate(properties("platformVersion").get(), useInstaller = false) | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| implementation(platform("com.microsoft.azure:azure-toolkit-libs:0.52.2")) | ||||||||||||||
| implementation(platform("com.microsoft.azure:azure-toolkit-ide-libs:0.52.2")) | ||||||||||||||
| implementation(platform("com.microsoft.hdinsight:azure-toolkit-ide-hdinsight-libs:0.1.1")) | ||||||||||||||
|
|
||||||||||||||
| compileOnly("org.projectlombok:lombok:1.18.24") | ||||||||||||||
| compileOnly("org.projectlombok:lombok:1.18.32") | ||||||||||||||
| compileOnly("org.jetbrains:annotations:24.0.0") | ||||||||||||||
| annotationProcessor("org.projectlombok:lombok:1.18.24") | ||||||||||||||
| annotationProcessor("org.projectlombok:lombok:1.18.32") | ||||||||||||||
| implementation("com.microsoft.azure:azure-toolkit-common-lib:0.52.2") | ||||||||||||||
| aspect("com.microsoft.azure:azure-toolkit-common-lib:0.52.2") | ||||||||||||||
| } | ||||||||||||||
|
|
@@ -91,21 +86,25 @@ allprojects { | |||||||||||||
| implementation { exclude(module = "xsdlib") } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| tasks.configureEach { | ||||||||||||||
| if (name == "instrumentCode") { | ||||||||||||||
| enabled = file("src/main/java").exists() | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| tasks { | ||||||||||||||
|
|
||||||||||||||
| compileJava { | ||||||||||||||
| sourceCompatibility = "17" | ||||||||||||||
| targetCompatibility = "17" | ||||||||||||||
| sourceCompatibility = "21" | ||||||||||||||
| targetCompatibility = "21" | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| compileKotlin { | ||||||||||||||
| kotlinOptions.jvmTarget = "17" | ||||||||||||||
| configure<AjcAction> { | ||||||||||||||
| enabled = false | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
| compileTestKotlin { | ||||||||||||||
| kotlinOptions.jvmTarget = "17" | ||||||||||||||
| configure<AjcAction> { | ||||||||||||||
| enabled = false | ||||||||||||||
| } | ||||||||||||||
|
|
@@ -134,7 +133,6 @@ allprojects { | |||||||||||||
| intellijPlatform { | ||||||||||||||
| projectName = "azure-toolkit-for-intellij" | ||||||||||||||
| buildSearchableOptions = false | ||||||||||||||
| instrumentCode = true | ||||||||||||||
|
|
||||||||||||||
|
||||||||||||||
| // Note: The global 'instrumentCode = true' configuration was intentionally removed. | |
| // Instead, 'instrumentCode' is now conditionally enabled in the tasks block above. | |
| // This allows for more granular control over which tasks have code instrumentation enabled, | |
| // and avoids instrumenting code globally when not needed. |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -2,15 +2,16 @@ | |||
| # libraries | ||||
|
|
||||
| # plugins | ||||
| kotlin = "2.1.0" | ||||
| changelog = "2.2.0" | ||||
| intellijPlatform = "2.3.0" | ||||
| kotlin = "2.2.20" | ||||
| changelog = "2.4.0" | ||||
| #intellijPlatform = "2.10.1" | ||||
|
||||
| #intellijPlatform = "2.10.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented-out code should be removed rather than left in the codebase. If this configuration is no longer needed, delete the comment.