Update build.gradle.kts

Fix build project when plugins list looks like this:

`platformPlugins = Groovy, yaml, org.intellij.intelliLang, java`
This commit is contained in:
sergeysenja1992 2025-01-22 16:06:02 +02:00 committed by GitHub
parent 5ab9b3da63
commit dbad25adc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ dependencies {
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
plugins(providers.gradleProperty("platformPlugins").map { it.split(',').map(String::trim).filter(String::isNotEmpty) })
instrumentationTools()
pluginVerifier()