This will speed up first script opening,
will avoid unexpected indexing because of new definitions
Script definitions are also needed for Kotlin scripting settings
Replace it with nonBlockingReadAction meaning that if update was canceled then loading will be restarted after all write events happen
Also scanning is now started after indexing
^KT-36378 Fixed
^KT-34138 Fixed
^KT-37863 Fixed
For each externalGradleProject separate GradleScriptingSupport is created.
This allows to save script configurations by gradle projects
^KT-37806 Obsolete
^KT-35151 Fixed
The main goal is to extract logic that is related to Gradle scripts only to separate place.
Configurations for gradle scripts are updated during import simultaneously, there is no need to manage script configuration update for one file
Note that for Gradle less than 6.0 The DefaultScriptingSupport is used