Fix "IdeaWin64.dll not found" error when running tests on Windows

This commit is contained in:
Vyacheslav Gerasimov
2021-12-17 16:48:03 +03:00
parent 999d2051ac
commit 5369813acc
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -180,6 +180,7 @@ fun Project.projectTest(
maxHeapSize = "1600m"
systemProperty("idea.is.unit.test", "true")
systemProperty("idea.home.path", project.ideaHomePathForTests().canonicalPath)
systemProperty("idea.use.native.fs.for.win", false)
systemProperty("java.awt.headless", "true")
environment("NO_FS_ROOTS_ACCESS_CHECK", "true")
environment("PROJECT_CLASSES_DIRS", project.testSourceSet.output.classesDirs.asPath)