With 2024.3, is it expected that configurePrecompi...
# gradle
h
With 2024.3, is it expected that configurePrecompiledScriptDependenciesResolver (when writing a Gradle plugin with kotlin-dsl) will be executed during Sync?
v
I guess if you apply the
kotlin-dsl
plugin, yes, as one of the sub-plugins it applies adds the possibility to write precompiled script plugins. If you would do the "other" things it does - like adding a dependency to
kotlinDsl()
, configuring Kotlin compiler plugins and so on - it would probably not happen. Just guessing though.
h
Ah thanks, makes sense, so it is unrelated to the IntelliJ sync, and Gradle needs to fix the IP/CC problem.
v
I don't think it is unrelated to the Sync. But if you apply a plugin (
kotlin-dsl
) that enables precompiled script plugins and then Sync, it probably needs to do some work for that. Whether that task specifically comes from Gradle or the IntelliJ integration I don't know from the top of my head, but I guess from that latter.