Skip to content

Commit 70546be

Browse files
authored
Update the Gradle plugins to the latest stable versions (#8312)
- https://plugins.gradle.org/plugin/org.jetbrains.intellij.platform - https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm This version bump of `org.jetbrains.intellij.platform` to `2.6.0` now disallows the usage of powermocks, hence the deletion of the mocked tests for the time being.
1 parent 1953172 commit 70546be

File tree

6 files changed

+4
-912
lines changed

6 files changed

+4
-912
lines changed

build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ repositories {
3232

3333
plugins {
3434
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
35-
// https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
35+
// https://plugins.gradle.org/plugin/org.jetbrains.intellij.platform
3636
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
37-
id("org.jetbrains.intellij.platform") version "2.5.0"
38-
id("org.jetbrains.kotlin.jvm") version "2.1.21-RC2"
37+
id("java") // Java support
38+
id("org.jetbrains.intellij.platform") version "2.6.0" // IntelliJ Platform Gradle Plugin
39+
id("org.jetbrains.kotlin.jvm") version "2.2.0" // Kotlin support
3940
}
4041

4142
val flutterPluginVersion = providers.gradleProperty("flutterPluginVersion").get()
@@ -130,9 +131,6 @@ dependencies {
130131
// TODO(helin24): The rest in this block was pulled over from flutter-idea; potentially parts could be deleted.
131132
compileOnly("org.jetbrains:annotations:24.0.0")
132133
testImplementation("org.jetbrains:annotations:24.0.0")
133-
testImplementation("org.powermock:powermock-api-mockito2:2.0.9")
134-
testImplementation("org.powermock:powermock-module-junit4:2.0.9")
135-
testImplementation(mapOf("group" to "org.mockito", "name" to "mockito-core", "version" to "5.2.0"))
136134

137135
testRuntimeOnly(
138136
fileTree(

flutter-idea/testSrc/unit/io/flutter/devtools/DevToolsUrlTest.java

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

flutter-idea/testSrc/unit/io/flutter/editor/FlutterIconLineMarkerTest.java

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

0 commit comments

Comments
 (0)