[Pill] Fix importing after ideaHomePathForTests() signature change
Before, the 'File' was returned. Now, it's 'Provider<Directory>'.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user