aboutsummaryrefslogtreecommitdiff
path: root/integration-tests
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
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')
-rw-r--r--integration-tests/gradle-integration-tests/build.gradle.kts1
-rw-r--r--integration-tests/gradle/projects/it-basic/settings.gradle.kts9
2 files changed, 8 insertions, 2 deletions
diff --git a/integration-tests/gradle-integration-tests/build.gradle.kts b/integration-tests/gradle-integration-tests/build.gradle.kts
index 4db0f976..7cb96738 100644
--- a/integration-tests/gradle-integration-tests/build.gradle.kts
+++ b/integration-tests/gradle-integration-tests/build.gradle.kts
@@ -40,5 +40,6 @@ tasks {
test {
systemProperty("android.licenses.overwrite", project.findProperty("android.licenses.overwrite") ?: "")
inputs.dir(file("testData"))
+ exclude("*") // TODO: Remove this exclude when tests are migrated
}
}
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()