From c49909538205ec364834c02a8bb24c04f96a895c Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Fri, 8 Dec 2023 14:55:13 +0900 Subject: [PATCH] [Pill] Fix importing after ideaHomePathForTests() signature change Before, the 'File' was returned. Now, it's 'Provider'. --- plugins/pill/pill-importer/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pill/pill-importer/build.gradle.kts b/plugins/pill/pill-importer/build.gradle.kts index 4b2f61dc1fc..67f837d78aa 100644 --- a/plugins/pill/pill-importer/build.gradle.kts +++ b/plugins/pill/pill-importer/build.gradle.kts @@ -33,7 +33,7 @@ fun runPillTask(taskName: String) { val runMethod = pillImporterClass.declaredMethods.single { it.name == "run" } require(Modifier.isStatic(runMethod.modifiers)) - val platformDir = rootProject.ideaHomePathForTests() + val platformDir = rootProject.ideaHomePathForTests().get().asFile val resourcesDir = File(project.projectDir, "resources") runMethod.invoke(null, project.rootProject, taskName, platformDir, resourcesDir)