Skip to content

Commit b33b76c

Browse files
authored
Update the Gradle Plugin versions (flutter#7983)
flutter#7936
1 parent 7dd6aea commit b33b76c

File tree

3 files changed

+5
-26
lines changed

3 files changed

+5
-26
lines changed

build.gradle.kts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ plugins {
3333
// https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
3434
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
3535
// TODO(jwren) "2.2.0" can't be used to build 2023.3, as soon as we don't support this version, update the version here and elsewhere:
36-
id("org.jetbrains.intellij.platform") version "2.1.0"
37-
id("org.jetbrains.kotlin.jvm") version "2.1.0"
36+
id("org.jetbrains.intellij.platform") version "2.4.0"
37+
id("org.jetbrains.kotlin.jvm") version "2.1.20"
3838
}
3939

4040
// TODO(mossmana) These properties are duplicated in flutter-idea/build.gradle.kts and flutter-studio/build.gradle.kts. Should be consolidated.
@@ -119,13 +119,6 @@ dependencies {
119119
// https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html#project-setup
120120
bundledPlugins(bundledPluginList)
121121
plugins(pluginList)
122-
123-
// The warning that "instrumentationTools()" is deprecated might be valid, however, this error is produced by Gradle IJ plugin version
124-
// 2.1.0 if this isn't included:
125-
// Caused by: org.gradle.api.GradleException: No Java Compiler dependency found.
126-
// Please ensure the `instrumentationTools()` entry is present in the project dependencies section along with the `intellijDependencies()` entry in the repositories section.
127-
// See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
128-
instrumentationTools()
129122
pluginVerifier()
130123
}
131124
}

flutter-idea/build.gradle.kts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ plugins {
2323
// https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
2424
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
2525
id("java")
26-
id("org.jetbrains.intellij.platform") version "2.1.0"
27-
id("org.jetbrains.kotlin.jvm") version "2.1.0"
26+
id("org.jetbrains.intellij.platform") version "2.4.0"
27+
id("org.jetbrains.kotlin.jvm") version "2.1.20"
2828
}
2929

3030
val flutterPluginVersion = providers.gradleProperty("flutterPluginVersion").get()
@@ -97,13 +97,6 @@ dependencies {
9797
// https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html#project-setup
9898
bundledPlugins(bundledPluginList)
9999
plugins(pluginList)
100-
101-
// The warning that "instrumentationTools()" is deprecated might be valid, however, this error is produced by Gradle IJ plugin version
102-
// 2.1.0 if this isn't included:
103-
// Caused by: org.gradle.api.GradleException: No Java Compiler dependency found.
104-
// Please ensure the `instrumentationTools()` entry is present in the project dependencies section along with the `intellijDependencies()` entry in the repositories section.
105-
// See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
106-
instrumentationTools()
107100
pluginVerifier()
108101
}
109102
}

flutter-studio/build.gradle.kts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ plugins {
2525
// https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
2626
id("java")
2727
id("org.jetbrains.intellij.platform.module")
28-
id("org.jetbrains.kotlin.jvm") version "2.1.0"
28+
id("org.jetbrains.kotlin.jvm") version "2.1.20"
2929
}
3030

3131
val flutterPluginVersion = providers.gradleProperty("flutterPluginVersion").get()
@@ -98,13 +98,6 @@ dependencies {
9898
// https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html#project-setup
9999
bundledPlugins(bundledPluginList)
100100
plugins(pluginList)
101-
102-
// The warning that "instrumentationTools()" is deprecated might be valid, however, this error is produced by Gradle IJ plugin version
103-
// 2.1.0 if this isn't included:
104-
// Caused by: org.gradle.api.GradleException: No Java Compiler dependency found.
105-
// Please ensure the `instrumentationTools()` entry is present in the project dependencies section along with the `intellijDependencies()` entry in the repositories section.
106-
// See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
107-
instrumentationTools()
108101
}
109102
}
110103

0 commit comments

Comments
 (0)