aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/template.settings.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/gradle/projects/template.settings.gradle.kts')
-rw-r--r--integration-tests/gradle/projects/template.settings.gradle.kts11
1 files changed, 11 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/template.settings.gradle.kts b/integration-tests/gradle/projects/template.settings.gradle.kts
index f28de32a..253c4e1b 100644
--- a/integration-tests/gradle/projects/template.settings.gradle.kts
+++ b/integration-tests/gradle/projects/template.settings.gradle.kts
@@ -2,9 +2,11 @@
pluginManagement {
val dokka_it_kotlin_version: String by settings
+ val dokka_it_android_gradle_plugin_version: String? by settings
plugins {
id("org.jetbrains.kotlin.jvm") version dokka_it_kotlin_version
+ id("org.jetbrains.kotlin.android") version dokka_it_kotlin_version
id("org.jetbrains.kotlin.multiplatform") version dokka_it_kotlin_version
}
@@ -13,6 +15,14 @@ pluginManagement {
if (requested.id.id == "org.jetbrains.dokka") {
useModule("org.jetbrains.dokka:dokka-gradle-plugin:for-integration-tests-SNAPSHOT")
}
+
+ if (requested.id.id == "com.android.library") {
+ useModule("com.android.tools.build:gradle:$dokka_it_android_gradle_plugin_version")
+ }
+
+ if (requested.id.id == "com.android.application") {
+ useModule("com.android.tools.build:gradle:$dokka_it_android_gradle_plugin_version")
+ }
}
}
repositories {
@@ -21,5 +31,6 @@ pluginManagement {
mavenCentral()
jcenter()
gradlePluginPortal()
+ google()
}
}