aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 18:38:39 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-14 18:38:39 +0400
commit4582f42748cc57471cbe2e683ec0793a8293cf02 (patch)
tree57a397efa77a56d51151583b4b749c865e0a888e /src/main.kt
parent69abe980af6d0e83c04d355ac27aa0acec56e0e9 (diff)
downloaddokka-4582f42748cc57471cbe2e683ec0793a8293cf02.tar.gz
dokka-4582f42748cc57471cbe2e683ec0793a8293cf02.tar.bz2
dokka-4582f42748cc57471cbe2e683ec0793a8293cf02.zip
Include JDK symbols.
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.kt b/src/main.kt
index 56717a80..ef46849a 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -4,6 +4,7 @@ import com.sampullara.cli.*
import com.intellij.openapi.util.*
import org.jetbrains.jet.cli.common.messages.*
import org.jetbrains.jet.cli.common.arguments.*
+import org.jetbrains.jet.utils.PathUtil
class DokkaArguments {
Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)")
@@ -22,10 +23,8 @@ public fun main(args: Array<String>) {
val sources: List<String> = sourceFiles ?: listOf()
val environment = AnalysisEnvironment(MessageCollectorPlainTextToStream.PLAIN_TEXT_TO_SYSTEM_ERR) {
- /*
- addClasspath(PathUtil.getJdkClassesRoots())
- addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath())
- */
+ addClasspath(PathUtil.getJdkClassesRoots())
+ // addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath())
addSources(sources)
}