aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts')
-rw-r--r--examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts b/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts
new file mode 100644
index 00000000..397ad22f
--- /dev/null
+++ b/examples/gradle/dokka-multimodule-example/parentProject/build.gradle.kts
@@ -0,0 +1,20 @@
+plugins {
+ /**
+ * Kotlin plugin necessary because of potential Gradle bug!
+ * This is not necessary if the kotlin gradle plugin is added as buildscript
+ * dependency like
+ *
+ * buildscript {
+ * dependencies {
+ * classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
+ * }
+ * }
+ */
+ kotlin("jvm")
+ id("org.jetbrains.dokka")
+}
+
+dependencies {
+ implementation(kotlin("stdlib"))
+}
+