aboutsummaryrefslogtreecommitdiff
path: root/runners/ant
diff options
context:
space:
mode:
authorZubakov <aleks.zubakov@gmail.com>2018-08-27 21:35:29 +0300
committerZubakov <aleks.zubakov@gmail.com>2018-09-06 19:38:51 +0300
commita4ae451279b4f89b9994d333c6d6d88a0868c5e4 (patch)
treef052501c47a6d00641395983eae66dd43109a366 /runners/ant
parent6034c10de4f208484485e6a53daa48cf11800ef5 (diff)
downloaddokka-a4ae451279b4f89b9994d333c6d6d88a0868c5e4.tar.gz
dokka-a4ae451279b4f89b9994d333c6d6d88a0868c5e4.tar.bz2
dokka-a4ae451279b4f89b9994d333c6d6d88a0868c5e4.zip
Drop unnecessary properties in SourceRoot
Diffstat (limited to 'runners/ant')
-rw-r--r--runners/ant/src/main/kotlin/ant/dokka.kt8
1 files changed, 3 insertions, 5 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt
index 9428a7ce..8be9246f 100644
--- a/runners/ant/src/main/kotlin/ant/dokka.kt
+++ b/runners/ant/src/main/kotlin/ant/dokka.kt
@@ -17,11 +17,9 @@ 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,
- var platform: Platform = Platform.DEFAULT) {
- fun toSourceRoot(): SourceRootImpl? = path?.let {
- path ->
- SourceRootImpl(path, platforms?.split(',').orEmpty(), platform)
+class AntSourceRoot(var path: String? = null) {
+ fun toSourceRoot(): SourceRootImpl? = path?.let { path ->
+ SourceRootImpl(path)
}
}