1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-08 06:34:08 +02:00

Fix the LATEST-EAP-SNAPSHOT tests

This commit is contained in:
Alex Plate 2024-09-05 17:10:14 +03:00
parent 785688b1ca
commit 314304246a
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
4 changed files with 20 additions and 4 deletions
build.gradle.kts
tests
java-tests
long-running-tests
property-tests

View File

@ -111,10 +111,14 @@ dependencies {
compileOnly("org.jetbrains:annotations:24.1.0")
intellijPlatform {
// Snapshots don't use installers
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#target-versions-installers
val useInstaller = "EAP-SNAPSHOT" !in ideaVersion
// Note that it is also possible to use local("...") to compile against a locally installed IDE
// E.g. local("/Users/{user}/Applications/IntelliJ IDEA Ultimate.app")
// Or something like: intellijIdeaUltimate(ideaVersion)
create(ideaType, ideaVersion)
create(ideaType, ideaVersion, useInstaller)
pluginVerifier()
zipSigner()

View File

@ -35,7 +35,11 @@ dependencies {
testImplementation("org.junit.vintage:junit-vintage-engine:5.10.3")
intellijPlatform {
create(ideaType, ideaVersion)
// Snapshots don't use installers
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#target-versions-installers
val useInstaller = "EAP-SNAPSHOT" !in ideaVersion
create(ideaType, ideaVersion, useInstaller)
testFramework(TestFrameworkType.Platform)
testFramework(TestFrameworkType.JUnit5)
bundledPlugins("com.intellij.java", "org.jetbrains.plugins.yaml")

View File

@ -28,7 +28,11 @@ dependencies {
testImplementation("org.junit.vintage:junit-vintage-engine:5.10.3")
intellijPlatform {
create(ideaType, ideaVersion)
// Snapshots don't use installers
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#target-versions-installers
val useInstaller = "EAP-SNAPSHOT" !in ideaVersion
create(ideaType, ideaVersion, useInstaller)
testFramework(TestFrameworkType.Platform)
testFramework(TestFrameworkType.JUnit5)
instrumentationTools()

View File

@ -28,7 +28,11 @@ dependencies {
testImplementation("org.junit.vintage:junit-vintage-engine:5.10.3")
intellijPlatform {
create(ideaType, ideaVersion)
// Snapshots don't use installers
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#target-versions-installers
val useInstaller = "EAP-SNAPSHOT" !in ideaVersion
create(ideaType, ideaVersion, useInstaller)
bundledPlugins("com.intellij.java")
testFramework(TestFrameworkType.Platform)
testFramework(TestFrameworkType.JUnit5)