Skip to content

Commit 48096bd

Browse files
committed
Hide test classes that depend on compiled Kotlin classes in Eclipse
1 parent a4f2f60 commit 48096bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ eclipse {
5757
// Exclude Foo.java and FooBar.java in the modules-2500 folder.
5858
it.excludes.add("**/Foo*.java")
5959
}
60+
if (project.name == "jupiter-tests" && it.path == "src/test/java") {
61+
// Exclude test classes that depend on compiled Kotlin code.
62+
it.excludes.add("**/AtypicalJvmMethodNameTests.java")
63+
it.excludes.add("**/TestInstanceLifecycleKotlinTests.java")
64+
}
6065
}
6166
entries.filterIsInstance<ProjectDependency>().forEach {
6267
it.entryAttributes.remove("module")

0 commit comments

Comments
 (0)