diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-04-01 17:02:18 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-30 12:37:30 +0200 |
commit | 7f9d595f604e269fb918dc69cf2f80c19aef58c2 (patch) | |
tree | 132d84a71c3aae87894ecce9a618ca9df12f2dc7 /testApi | |
parent | badb811e6de55c460301ae3f911f3d7c0dc9e39e (diff) | |
download | dokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.tar.gz dokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.tar.bz2 dokka-7f9d595f604e269fb918dc69cf2f80c19aef58c2.zip |
Adds possibility to configure plugins
Diffstat (limited to 'testApi')
-rw-r--r-- | testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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<File> = emptyList() + var pluginsConfigurations: Map<String, String> = emptyMap() private val passesConfigurations = mutableListOf<PassConfigurationImpl>() 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) { |