File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
plugins/toolkit/jetbrains-rider Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,34 @@ sourceSets {
48
48
}
49
49
}
50
50
51
+ // FIX_WHEN_MIN_IS_251
52
+ // org.gradle.internal.resolve.ModuleVersionNotFoundException:
53
+ // Could not find any version that matches com.jetbrains.intellij.platform:test-framework:{strictly [243, 243.21565.192]; prefer 243.21565.192}.
54
+ if (providers.gradleProperty(" ideProfileName" ).get() == " 2024.3" ) {
55
+ configurations.all {
56
+ resolutionStrategy.dependencySubstitution {
57
+ listOf (
58
+ " com.jetbrains.intellij.java:java-test-framework" ,
59
+ " com.jetbrains.intellij.platform:test-framework" ,
60
+ " com.jetbrains.intellij.platform:test-framework-junit5"
61
+ ).forEach {
62
+ substitute(module(it))
63
+ .using(module(" $it :243.21565.193" ))
64
+ .because(" Rider 2024.3.0 requires a newer version of test-framework" )
65
+ }
66
+ }
67
+ }
68
+ }
69
+
51
70
dependencies {
52
71
intellijPlatform {
53
72
localPlugin(project(" :plugin-core" ))
54
73
testFramework(TestFrameworkType .Bundled )
55
74
56
- // https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1774
75
+ // FIX_WHEN_MIN_IS_251: https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1774
57
76
when (providers.gradleProperty(" ideProfileName" ).get()) {
58
77
" 2023.3" , " 2024.1" -> {}
59
- else -> {
78
+ " 2024.2 " , " 2024.3 " -> {
60
79
bundledModule(" intellij.rider" )
61
80
}
62
81
}
You can’t perform that action at this time.
0 commit comments