diff options
author | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-10 19:27:16 +0300 |
---|---|---|
committer | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-10 19:38:36 +0300 |
commit | 9ea429920e07c77e1241c4beb172bb36735af783 (patch) | |
tree | 2f4139dc014ac86d5577c9c3a96faf90e408d42e /runners/ant/src | |
parent | dcd84d619665864b275591c93248f4637f6ee636 (diff) | |
download | dokka-9ea429920e07c77e1241c4beb172bb36735af783.tar.gz dokka-9ea429920e07c77e1241c4beb172bb36735af783.tar.bz2 dokka-9ea429920e07c77e1241c4beb172bb36735af783.zip |
Add js platform support
Diffstat (limited to 'runners/ant/src')
-rw-r--r-- | runners/ant/src/main/kotlin/ant/dokka.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt index d1b6bef5..58e2fa28 100644 --- a/runners/ant/src/main/kotlin/ant/dokka.kt +++ b/runners/ant/src/main/kotlin/ant/dokka.kt @@ -17,10 +17,11 @@ class AntLogger(val task: Task): DokkaLogger { class AntSourceLinkDefinition(var path: String? = null, var url: String? = null, var lineSuffix: String? = null) -class AntSourceRoot(var path: String? = null, var platforms: String? = null) { +class AntSourceRoot(var path: String? = null, var platforms: String? = null, + var platform: Platform = Platform.DEFAULT) { fun toSourceRoot(): SourceRootImpl? = path?.let { path -> - SourceRootImpl(path, platforms?.split(',').orEmpty()) + SourceRootImpl(path, platforms?.split(',').orEmpty(), platform) } } |