Skip to content

Commit

Permalink
rollback gradle integration tests to use mavenLocal for now
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Oct 23, 2023
1 parent b8b944e commit 0dad2cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
17 changes: 3 additions & 14 deletions dokka-integration-tests/gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,10 @@ val gradlePluginClassic = gradle.includedBuild("gradle-plugin-classic")

tasks.integrationTest {
dependsOn(
dokkaSubprojects.task(":publishAllPublicationsToProjectLocalRepository"),
gradlePluginClassic.task(":publishAllPublicationsToProjectLocalRepository"),
)
environment(
"DOKKA_VERSION",
project.version
)
environment(
"DOKKA_LOCAL_REPOSITORY_SUBPROJECTS",
dokkaSubprojects.projectDir.resolve("build/maven-project-local")
)
environment(
"DOKKA_LOCAL_REPOSITORY_GRADLE_PLUGIN",
gradlePluginClassic.projectDir.resolve("build/maven-project-local")
dokkaSubprojects.task(":publishToMavenLocal"),
gradlePluginClassic.task(":publishToMavenLocal"),
)
environment("DOKKA_VERSION", project.version)
inputs.dir(file("projects"))

javaLauncher.set(javaToolchains.launcherFor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ index 3d9431be0..b60114bc2 100644
html_version=0.7.2
lincheck_version=2.18.1
-dokka_version=1.8.10
+dokka_version=for-integration-tests-SNAPSHOT
+dokka_version=1.9.20-SNAPSHOT
byte_buddy_version=1.10.9
reactor_version=3.4.1
reactive_streams_version=1.0.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 5ef66cd9..51a90924 100644
junit_version=4.12
jackson_version=2.10.0.pr1
-dokka_version=1.8.10
+dokka_version=for-integration-tests-SNAPSHOT
+dokka_version=1.9.20-SNAPSHOT
native.deploy=
validator_version=0.13.2
knit_version=0.5.0-Beta
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

allprojects {
repositories {
maven(System.getenv("DOKKA_LOCAL_REPOSITORY_SUBPROJECTS")) {
mavenLocal {
content {
includeGroup("org.jetbrains.dokka")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ pluginManagement {
}
}
repositories {
maven(System.getenv("DOKKA_LOCAL_REPOSITORY_GRADLE_PLUGIN")) {
mavenLocal {
content {
includeGroup("org.jetbrains.dokka")
}
}
maven(System.getenv("DOKKA_LOCAL_REPOSITORY_SUBPROJECTS")) {
mavenLocal {
content {
includeGroup("org.jetbrains.dokka")
}
Expand Down

0 comments on commit 0dad2cd

Please sign in to comment.