From 7f9d595f604e269fb918dc69cf2f80c19aef58c2 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Wed, 1 Apr 2020 17:02:18 +0200 Subject: Adds possibility to configure plugins --- testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testApi') diff --git a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt index 26b9a4b6..6c132d3c 100644 --- a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt +++ b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt @@ -140,6 +140,7 @@ abstract class AbstractCoreTest { var generateIndexPages: Boolean = true var cacheRoot: String? = null var pluginsClasspath: List = emptyList() + var pluginsConfigurations: Map = emptyMap() private val passesConfigurations = mutableListOf() fun build() = DokkaConfigurationImpl( outputDir = outputDir, @@ -148,7 +149,8 @@ abstract class AbstractCoreTest { cacheRoot = cacheRoot, impliedPlatforms = emptyList(), passesConfigurations = passesConfigurations, - pluginsClasspath = pluginsClasspath + pluginsClasspath = pluginsClasspath, + pluginsConfiguration = pluginsConfigurations ) fun passes(block: Passes.() -> Unit) { -- cgit