[Test] Add ability to specify main class in Box tests
Also slightly refactor some existing services to make them more idiomatic
This commit is contained in:
committed by
TeamCityServer
parent
aab8870903
commit
a68c4ec7be
+8
-5
@@ -63,9 +63,12 @@ internal fun TestConfigurationBuilder.configureForKotlinxSerialization(libraries
|
||||
}
|
||||
}
|
||||
})
|
||||
useCustomRuntimeClasspathProvider {
|
||||
object : RuntimeClasspathProvider() {
|
||||
override fun runtimeClassPaths(): List<File> = librariesPaths
|
||||
|
||||
useCustomRuntimeClasspathProviders(
|
||||
{
|
||||
object : RuntimeClasspathProvider(it) {
|
||||
override fun runtimeClassPaths(module: TestModule): List<File> = librariesPaths
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user