diff --git a/buildSrc/src/main/kotlin/toolkit-publish-root-conventions.gradle.kts b/buildSrc/src/main/kotlin/toolkit-publish-root-conventions.gradle.kts index 9d1f22e560b..d31e0d41bcc 100644 --- a/buildSrc/src/main/kotlin/toolkit-publish-root-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/toolkit-publish-root-conventions.gradle.kts @@ -70,4 +70,8 @@ tasks.runIde { systemProperty("ide.plugins.snapshot.on.unload.fail", true) systemProperty("memory.snapshots.path", project.rootDir) systemProperty("idea.auto.reload.plugins", false) + + val home = project.layout.buildDirectory.dir("USER_HOME").get() + systemProperty("user.home", home) + environment("HOME", home) }