is a configuration that could be used to discover script definitions for compiling sources that include custom scripts. This configuration is provided and handled by the kotlin gradle plugin.
I don't know whether it is handled properly on Import to intelliJ, but looking at the stacktrace from the issue, it seems that the attempt to instantiate the definition is made, so the definition is discovered. Maybe something is missing in the classpath.
ilya.chernikov
09/23/2022, 12:03 PM
I have no idea, what
kotlinScriptDefExtensions
is. It is defined in the gradle (kotlin-dsl) itself, but I see no documentation, and the purpose is not immediately clear from the source code. Maybe better asking Gradle gous about it.
👍🏻 1
s
Sebastian Schuberth
09/23/2022, 12:12 PM
that could be used
Can you clarify on the "could" bit? When does it have to be used? I.e., am I supposed to used it even if the script definitions already are in the
implementation
configuration?
i
ilya.chernikov
09/26/2022, 2:14 PM
Yes, sorry for the misleading formulation. If you need the definition to be discovered, you have to reference it in the