[testFramework] Add intellij.libraries.junit5.vintage (not JUnit5Vintage library) to dependencies in intellij.tools.testsBootstrap module (IJPL-116621)

Also adds intellij.libraries.junit5.vintage module.

GitOrigin-RevId: 437e895b730e777cbe70c2c78a05bc68a10fd196
This commit is contained in:
Ilia Kirianovskii
2025-10-15 00:37:47 +00:00
committed by intellij-monorepo-bot
parent 0843f4df69
commit 5618f0cf0a
9 changed files with 53 additions and 10 deletions
+1
View File
@@ -864,6 +864,7 @@
<module fileurl="file://$PROJECT_DIR$/libraries/junit5-launcher/intellij.libraries.junit5.launcher.iml" filepath="$PROJECT_DIR$/libraries/junit5-launcher/intellij.libraries.junit5.launcher.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/junit5-params/intellij.libraries.junit5.params.iml" filepath="$PROJECT_DIR$/libraries/junit5-params/intellij.libraries.junit5.params.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/junit5-pioneer/intellij.libraries.junit5.pioneer.iml" filepath="$PROJECT_DIR$/libraries/junit5-pioneer/intellij.libraries.junit5.pioneer.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/junit5-vintage/intellij.libraries.junit5.vintage.iml" filepath="$PROJECT_DIR$/libraries/junit5-vintage/intellij.libraries.junit5.vintage.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/jvm-native-trusted-roots/intellij.libraries.jvm.native.trusted.roots.iml" filepath="$PROJECT_DIR$/libraries/jvm-native-trusted-roots/intellij.libraries.jvm.native.trusted.roots.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/jzlib/intellij.libraries.jzlib.iml" filepath="$PROJECT_DIR$/libraries/jzlib/intellij.libraries.jzlib.iml" />
<module fileurl="file://$PROJECT_DIR$/libraries/kotlin/reflect/intellij.libraries.kotlin.reflect.iml" filepath="$PROJECT_DIR$/libraries/kotlin/reflect/intellij.libraries.kotlin.reflect.iml" />
+1
View File
@@ -413,6 +413,7 @@ libraries/junit5
libraries/junit5-launcher
libraries/junit5-params
libraries/junit5-pioneer
libraries/junit5-vintage
libraries/jvm-native-trusted-roots
libraries/jzlib
libraries/kotlin/reflect
-7
View File
@@ -3629,13 +3629,6 @@ jvm_import(
visibility = ["//visibility:public"]
)
java_library(
name = "junit5Vintage-provided",
exports = [":junit5Vintage"],
neverlink = True,
visibility = ["//visibility:public"]
)
java_library(
name = "junit6",
exports = [
+22
View File
@@ -0,0 +1,22 @@
### auto-generated section `build intellij.libraries.junit5.vintage` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
resourcegroup(
name = "junit5-vintage_resources",
srcs = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "junit5-vintage",
visibility = ["//visibility:public"],
srcs = glob([], allow_empty = True),
resources = [":junit5-vintage_resources"],
exports = ["@lib//:junit5Vintage"],
runtime_deps = [
"@lib//:junit5Vintage",
"//libraries/junit4",
"//libraries/junit5-launcher",
]
)
### auto-generated section `build intellij.libraries.junit5.vintage` end
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="JUnit5Vintage" level="project" />
<orderEntry type="module" module-name="intellij.libraries.junit4" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.libraries.junit5.launcher" scope="RUNTIME" />
</component>
</module>
@@ -0,0 +1,6 @@
<idea-plugin>
<dependencies>
<module name="intellij.libraries.junit4"/>
<module name="intellij.libraries.junit5.launcher"/>
</dependencies>
</idea-plugin>
+7 -2
View File
@@ -1,5 +1,5 @@
### auto-generated section `build intellij.tools.testsBootstrap` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_provided_library", "resourcegroup")
resourcegroup(
name = "tools-testsBootstrap_resources",
@@ -7,6 +7,11 @@ resourcegroup(
strip_prefix = "resources"
)
jvm_provided_library(
name = "libraries_junit5-vintage_provided",
lib = "//libraries/junit5-vintage"
)
jvm_library(
name = "tools-testsBootstrap",
module_name = "intellij.tools.testsBootstrap",
@@ -18,11 +23,11 @@ jvm_library(
"@lib//:hamcrest",
"@lib//:junit5Launcher-provided",
"@lib//:junit5-provided",
"@lib//:junit5Vintage-provided",
"@lib//:tc_service_messages",
"@lib//:junit5Jupiter-provided",
"@lib//:opentest4j",
"//platform/core-nio-fs",
":libraries_junit5-vintage_provided",
],
runtime_deps = ["//platform/boot"]
)
@@ -13,7 +13,7 @@
<orderEntry type="library" name="hamcrest" level="project" />
<orderEntry type="library" scope="PROVIDED" name="JUnit5Launcher" level="project" />
<orderEntry type="library" scope="PROVIDED" name="JUnit5" level="project" />
<orderEntry type="library" scope="PROVIDED" name="JUnit5Vintage" level="project" />
<orderEntry type="module" module-name="intellij.libraries.junit5.vintage" scope="PROVIDED" />
<orderEntry type="library" name="tcServiceMessages" level="project" />
<orderEntry type="library" scope="PROVIDED" name="JUnit5Jupiter" level="project" />
<orderEntry type="library" name="opentest4j" level="project" />
@@ -1,5 +1,6 @@
<idea-plugin visibility="internal">
<dependencies>
<module name="intellij.libraries.junit5.launcher"/>
<module name="intellij.libraries.junit5.vintage"/>
</dependencies>
</idea-plugin>