diff options
author | Matthew Haughton <3flex@users.noreply.github.com> | 2022-05-27 02:45:21 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 19:45:21 +0300 |
commit | 01eb31a3e0051a8faa2b3aa5cbf6ff8895ed1385 (patch) | |
tree | e7f63bcde233c54519bb3f84c55541fe5578f114 /integration-tests/gradle | |
parent | 4ea32c0af352585ec1886751287cfb56e46a08ea (diff) | |
download | dokka-01eb31a3e0051a8faa2b3aa5cbf6ff8895ed1385.tar.gz dokka-01eb31a3e0051a8faa2b3aa5cbf6ff8895ed1385.tar.bz2 dokka-01eb31a3e0051a8faa2b3aa5cbf6ff8895ed1385.zip |
Fix some integration tests on Windows (#2507)
Diffstat (limited to 'integration-tests/gradle')
2 files changed, 3 insertions, 3 deletions
diff --git a/integration-tests/gradle/projects/it-basic/build.gradle.kts b/integration-tests/gradle/projects/it-basic/build.gradle.kts index 5adefda9..b2a84e5f 100644 --- a/integration-tests/gradle/projects/it-basic/build.gradle.kts +++ b/integration-tests/gradle/projects/it-basic/build.gradle.kts @@ -60,5 +60,5 @@ tasks.withType<DokkaTask> { } suppressObviousFunctions.set(false) - pluginsMapConfiguration.set(mapOf(DokkaBase::class.qualifiedName to """{ "customStyleSheets": ["${file("../customResources/logo-styles.css")}", "${file("../customResources/custom-style-to-add.css")}"], "customAssets" : ["${file("../customResources/custom-resource.svg")}"] }""")) + pluginsMapConfiguration.set(mapOf(DokkaBase::class.qualifiedName to """{ "customStyleSheets": ["${file("../customResources/logo-styles.css").invariantSeparatorsPath}", "${file("../customResources/custom-style-to-add.css").invariantSeparatorsPath}"], "customAssets" : ["${file("../customResources/custom-resource.svg").invariantSeparatorsPath}"] }""")) } diff --git a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleCachingIntegrationTest.kt b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleCachingIntegrationTest.kt index 2bce02aa..539941e0 100644 --- a/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleCachingIntegrationTest.kt +++ b/integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/AbstractGradleCachingIntegrationTest.kt @@ -29,7 +29,7 @@ abstract class AbstractGradleCachingIntegrationTest(override val versions: Build buildCache { local { // Set local build cache directory. - directory = File("${projectDir.absolutePath}", "build-cache") + directory = File("${projectDir.invariantSeparatorsPath}", "build-cache") } } """.trimIndent() @@ -40,7 +40,7 @@ abstract class AbstractGradleCachingIntegrationTest(override val versions: Build buildCache { local<DirectoryBuildCache> { // Set local build cache directory. - directory = File("${projectDir.absolutePath}", "build-cache") + directory = File("${projectDir.invariantSeparatorsPath}", "build-cache") } } """.trimIndent() |