Code insight unavailable (script configuration wasn’t received) when create a custom gradle.kts file
I create a sample Kotlin project with Gradle DSL using IntelliJ IDEA and when i create a custom gradle.kts file(named custom.gradle.kts, located at the same level as settings.gradle.kts & build.gradle.kts), IDE prompt code insight unavailable.But the code insight is available in build.gradle.kts and settings.gradle.kts.
Although the script can run normally, it is too unfriendly for script writing.