What's the current script definition story in IDEA...
# scripting
g
What's the current script definition story in IDEA? Last I'd used it, searching IDEA build directories of a projects dependencies would make script template discovery work. Does that work when build tasks are delegated to Gradle?
i
To make the discovery work with gradle, you need to specify dependencies to scan in the
kotlinScriptDef
configuration, like here: https://github.com/JetBrains/kotlin/blob/1.3.40/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/scriptingCustomExtension/app/build.gradle