@@ -14,7 +14,7 @@ plugins {
1414group = providers.gradleProperty(" pluginGroup" ).get()
1515version = providers.gradleProperty(" pluginVersion" ).get()
1616
17- // Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
17+ // Set the JVM language level used to build the project.
1818kotlin {
1919 jvmToolchain(21 )
2020}
@@ -34,10 +34,10 @@ dependencies {
3434
3535 // Required for 'junit.framework.TestCase' referenced in 'com.intellij.testFramework.UsefulTestCase'
3636 testImplementation(libs.junit)
37- testImplementation(" org .assertj:assertj-core:3.27.3 " )
38- testImplementation(" org.junit.jupiter:junit-jupiter-api:5.11.4 " )
39- testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.11.4 " )
40- testImplementation(" org.junit.jupiter:junit-jupiter-params:5.11.4 " )
37+ testImplementation(libs .assertj)
38+ testImplementation(libs.junitJupiterApi )
39+ testRuntimeOnly(libs.junitJupiterEngine )
40+ testImplementation(libs.junitJupiterParams )
4141
4242 // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
4343
@@ -50,7 +50,6 @@ dependencies {
5050 // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
5151 plugins(providers.gradleProperty(" platformPlugins" ).map { it.split(' ,' ) })
5252
53- instrumentationTools()
5453 pluginVerifier()
5554 zipSigner()
5655 testFramework(TestFrameworkType .Platform )
@@ -62,6 +61,7 @@ dependencies {
6261// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
6362intellijPlatform {
6463 pluginConfiguration {
64+ name = providers.gradleProperty(" pluginName" )
6565 version = providers.gradleProperty(" pluginVersion" )
6666
6767 // Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
@@ -92,7 +92,7 @@ intellijPlatform {
9292
9393 ideaVersion {
9494 sinceBuild = providers.gradleProperty(" pluginSinceBuild" )
95- untilBuild = providers.gradleProperty(" pluginUntilBuild" )
95+ // untilBuild = providers.gradleProperty("pluginUntilBuild")
9696 }
9797 }
9898
@@ -106,13 +106,14 @@ intellijPlatform {
106106intellijPlatformTesting {
107107 val runTestsInIJCommunity by intellijPlatformTesting.testIde.registering {
108108 type = IntelliJPlatformType .IntellijIdeaCommunity
109- version = " 2024.3 "
109+ version = " 2025.1 "
110110 task {
111111 useJUnitPlatform {
112112 isScanForTestClasses = false
113113 include(" **/*Test.class" )
114114 // Excluded due to https://github.com/picimako/mockitools/issues/69
115115 exclude(" **/MockFieldInitializationInspectionTest.class, **/StubOnlyMockInVerificationInspectionTest.class" )
116+ environment(" NO_FS_ROOTS_ACCESS_CHECK" , true )
116117 }
117118 }
118119 }
0 commit comments