aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic/settings.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-01 14:30:49 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commitc0ce35627413103d64845ca3c56b9ceab0606b6b (patch)
tree5eef75366a143f27a4fc61aa6fa236889b01d718 /integration-tests/gradle/projects/it-basic/settings.gradle.kts
parent1bd0cba71db2330a5e827860c4fa8c5b7eda12b4 (diff)
downloaddokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.gz
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.tar.bz2
dokka-c0ce35627413103d64845ca3c56b9ceab0606b6b.zip
Re-implement first basic gradle integration test
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/settings.gradle.kts')
-rw-r--r--integration-tests/gradle/projects/it-basic/settings.gradle.kts28
1 files changed, 28 insertions, 0 deletions
diff --git a/integration-tests/gradle/projects/it-basic/settings.gradle.kts b/integration-tests/gradle/projects/it-basic/settings.gradle.kts
new file mode 100644
index 00000000..4ee17dee
--- /dev/null
+++ b/integration-tests/gradle/projects/it-basic/settings.gradle.kts
@@ -0,0 +1,28 @@
+@file:Suppress("LocalVariableName", "UnstableApiUsage")
+
+pluginManagement {
+ val kotlin_version: String by settings
+ val dokka_version: String by settings
+
+ plugins {
+ id("org.jetbrains.kotlin.jvm") version kotlin_version
+ }
+
+ resolutionStrategy {
+ eachPlugin {
+ if (requested.id.id == "org.jetbrains.dokka") {
+ useModule("org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version")
+ }
+ }
+ }
+
+ repositories {
+ maven("https://dl.bintray.com/kotlin/kotlin-dev/")
+ mavenLocal()
+ mavenCentral()
+ jcenter()
+ gradlePluginPortal()
+ }
+}
+
+rootProject.name = "it-basic"