aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorSimon Ogorodnik <sem-oro@yandex.ru>2016-12-06 16:24:43 +0300
committerGitHub <noreply@github.com>2016-12-06 16:24:43 +0300
commit2d03ad01f650bc997dce076abaab0a61c2301a96 (patch)
tree957dbe5280cf1114cfecfca35d18b264be195255 /integration
parent5d030c6303270d8955b71c6738afd9c80d73662f (diff)
parent546e8edfd95c16665319bc371c6ccf63706ad1e4 (diff)
downloaddokka-2d03ad01f650bc997dce076abaab0a61c2301a96.tar.gz
dokka-2d03ad01f650bc997dce076abaab0a61c2301a96.tar.bz2
dokka-2d03ad01f650bc997dce076abaab0a61c2301a96.zip
Merge pull request #123 from Kotlin/isolated-classloader
Now dokka-fatjar complete isolated from poisonous Gradle environment
Diffstat (limited to 'integration')
-rw-r--r--integration/build.gradle13
-rw-r--r--integration/src/main/kotlin/org/jetbrains/dokka/DokkaBootstrap.kt24
2 files changed, 37 insertions, 0 deletions
diff --git a/integration/build.gradle b/integration/build.gradle
new file mode 100644
index 00000000..db2d6d78
--- /dev/null
+++ b/integration/build.gradle
@@ -0,0 +1,13 @@
+buildscript {
+ dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+apply plugin: 'kotlin'
+
+
+dependencies {
+ compile group: 'org.jetbrains.kotlin', name: 'kotlin-runtime', version: kotlin_version
+ compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlin_version
+} \ No newline at end of file
diff --git a/integration/src/main/kotlin/org/jetbrains/dokka/DokkaBootstrap.kt b/integration/src/main/kotlin/org/jetbrains/dokka/DokkaBootstrap.kt
new file mode 100644
index 00000000..50e8fb8d
--- /dev/null
+++ b/integration/src/main/kotlin/org/jetbrains/dokka/DokkaBootstrap.kt
@@ -0,0 +1,24 @@
+package org.jetbrains.dokka
+
+import java.util.function.BiConsumer
+
+interface DokkaBootstrap {
+
+ fun configure(logger: BiConsumer<String, String>,
+ moduleName: String,
+ classpath: List<String>,
+ sources: List<String>,
+ samples: List<String>,
+ includes: List<String>,
+ outputDir: String,
+ format: String,
+ includeNonPublic: Boolean,
+ reportUndocumented: Boolean,
+ skipEmptyPackages: Boolean,
+ skipDeprecated: Boolean,
+ jdkVersion: Int,
+ generateIndexPages: Boolean,
+ sourceLinks: List<String>)
+
+ fun generate()
+} \ No newline at end of file