Export kotlin.test packages with annotations and underlying frameworks
- Add exports for jvm package names used in kotlin.test annotations; - Export transitively underlying test framework modules Otherwise "This class does not have a constructor" happens when using an aliased annotation, e.g. kotlin.test.Test aliased to org.junit.test KT-41320
This commit is contained in:
@@ -3,9 +3,10 @@ module kotlin.test.junit5 {
|
||||
requires transitive kotlin.stdlib;
|
||||
requires transitive kotlin.test;
|
||||
|
||||
requires org.junit.jupiter.api;
|
||||
requires transitive org.junit.jupiter.api;
|
||||
|
||||
exports kotlin.test.junit5;
|
||||
exports kotlin.test.junit5.annotations;
|
||||
|
||||
provides kotlin.test.AsserterContributor with kotlin.test.junit5.JUnit5Contributor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user