Skip to content

Commit 41e0903

Browse files
aSemyhsz
authored andcommitted
move resolution of buildDirectory until it's required (the build dir isn't created until after a build)
1 parent a7a1c2e commit 41e0903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-tests/verify-plugin-configuration/verify.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import java.nio.file.Files
66

77
__FILE__.init {
88
val userHome = projectDirectory.resolve("home")
9-
val downloadDir = buildDirectory.resolve("home")
109
val ides = userHome.resolve(".pluginVerifier/ides").also {
1110
Files.deleteIfExists(it.resolve("foo"))
1211
}
@@ -52,6 +51,7 @@ __FILE__.init {
5251
Files.createFile(it.resolve("foo"))
5352
}
5453
}
54+
val downloadDir = buildDirectory.resolve("home")
5555
runGradleTask(
5656
"clean", "verifyPluginConfiguration", systemProperties = defaultSystemProperties, projectProperties = defaultProjectProperties + mapOf(
5757
"downloadDir" to downloadDir,

0 commit comments

Comments
 (0)