aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/configuration.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-31 10:27:54 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit23827bed7b4877b15633e1924f7ee3864f8ebe2c (patch)
treea683a90ae5778c87900e9bbf44be502f4d62cea3 /core/src/main/kotlin/configuration.kt
parentcba413d6102173bfb4f9e1a222941388fafcac62 (diff)
downloaddokka-23827bed7b4877b15633e1924f7ee3864f8ebe2c.tar.gz
dokka-23827bed7b4877b15633e1924f7ee3864f8ebe2c.tar.bz2
dokka-23827bed7b4877b15633e1924f7ee3864f8ebe2c.zip
Cover GradleDokkaSourceSetBuilder with tests
Diffstat (limited to 'core/src/main/kotlin/configuration.kt')
-rw-r--r--core/src/main/kotlin/configuration.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt
index fbe7ccfc..0c877bd4 100644
--- a/core/src/main/kotlin/configuration.kt
+++ b/core/src/main/kotlin/configuration.kt
@@ -44,6 +44,8 @@ enum class Platform(val key: String) {
js.key -> js
native.key -> native
common.key -> common
+ "androidjvm", "android" -> jvm
+ "metadata" -> common
else -> throw IllegalArgumentException("Unrecognized platform: $key")
}
}
@@ -129,6 +131,7 @@ interface DokkaConfiguration : Serializable {
interface ExternalDocumentationLink : Serializable {
val url: URL
val packageListUrl: URL
+
companion object
}
}