There is an issue where Intelij sometimes doesn't recognise the script definition. It seems to find the discovery file but not the definition class file. Is there a solution for this? Most of the times it seems to solve itself randomly by restarting Intelij or rebuilding the project using Gradle, it doesn't always work though.
g
Greg Hibberd
01/01/2020, 4:03 PM
File > Invalidate Caches and Restart
(or manually deleting build folders) and Gradle refresh fixes it for me consistently.