Support java 9 modules in the diagnostic tests both in sources and binaries

This commit is contained in:
Victor Petukhov
2021-04-06 16:25:16 +03:00
parent 1f0616439c
commit 71755b7a5e
9 changed files with 259 additions and 101 deletions
@@ -18,7 +18,15 @@ object MockLibraryUtilExt {
extraOptions: List<String> = emptyList(),
extraClasspath: List<String> = emptyList(),
): File {
return MockLibraryUtil.compileJavaFilesLibraryToJar(sourcesPath, jarName, addSources, extraOptions, extraClasspath, JUnit4Assertions)
return MockLibraryUtil.compileJavaFilesLibraryToJar(
sourcesPath,
jarName,
addSources,
extraOptions,
extraClasspath,
extraModulepath = listOf(),
JUnit4Assertions
)
}
@JvmStatic
@@ -39,6 +47,7 @@ object MockLibraryUtilExt {
allowKotlinSources,
extraOptions,
extraClasspath,
extraModulepath = listOf(),
useJava9,
JUnit4Assertions
)
@@ -64,6 +73,7 @@ object MockLibraryUtilExt {
allowKotlinSources,
extraOptions,
extraClasspath,
extraModulepath = listOf(),
useJava9,
JUnit4Assertions
)