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-02 09:26:30 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 12:48:53 +0200
commit0af0ef9ae462b9153758625410b67d7dc5b57a3d (patch)
tree0ebeb76177dce075552a70d40df7f702165852eb /integration-tests/gradle/projects/it-basic/settings.gradle.kts
parent012190fbfd049f56637b1039f4ae1f69becea881 (diff)
downloaddokka-0af0ef9ae462b9153758625410b67d7dc5b57a3d.tar.gz
dokka-0af0ef9ae462b9153758625410b67d7dc5b57a3d.tar.bz2
dokka-0af0ef9ae462b9153758625410b67d7dc5b57a3d.zip
Introduce special gradle plugin publication for integration tests
Diffstat (limited to 'integration-tests/gradle/projects/it-basic/settings.gradle.kts')
-rw-r--r--integration-tests/gradle/projects/it-basic/settings.gradle.kts9
1 files changed, 7 insertions, 2 deletions
diff --git a/integration-tests/gradle/projects/it-basic/settings.gradle.kts b/integration-tests/gradle/projects/it-basic/settings.gradle.kts
index 10447365..ca697588 100644
--- a/integration-tests/gradle/projects/it-basic/settings.gradle.kts
+++ b/integration-tests/gradle/projects/it-basic/settings.gradle.kts
@@ -2,13 +2,18 @@
pluginManagement {
val dokka_it_kotlin_version: String by settings
- val dokka_version = "0.11.0-SNAPSHOT"
plugins {
id("org.jetbrains.kotlin.jvm") version dokka_it_kotlin_version
- id("org.jetbrains.dokka") version dokka_version
}
+ resolutionStrategy {
+ eachPlugin {
+ if (requested.id.id == "org.jetbrains.dokka") {
+ useModule("org.jetbrains.dokka:dokka-gradle-plugin:for-integration-tests-SNAPSHOT")
+ }
+ }
+ }
repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev/")
mavenLocal()