With 2024.3, is it expected that configurePrecompiledScriptDependenciesResolver (when writing a Gradle plugin with kotlin-dsl) will be executed during Sync?
v
Vampire
11/18/2024, 12:02 PM
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
hfhbd
11/18/2024, 12:36 PM
Ah thanks, makes sense, so it is unrelated to the IntelliJ sync, and Gradle needs to fix the IP/CC problem.
v
Vampire
11/18/2024, 1:22 PM
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.