intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
No support for Gradle `dependencyResolutionManagement`
Ref: https://github.com/gradle/gradle/issues/15754
Similar to https://github.com/JetBrains/gradle-grammar-kit-plugin/pull/107 I would just add a check and don't add custom repositories. Adding repositories inside a plugin isn't secure because you can't control it and this repository can contain additional dependencies replacing your dependencies with bad ones.
Looking forward to get this addressed for Jewel, too :)
Looks like we need to rework dependencies management to something less magical.
Implemented in 2.0.
It is possible to apply the org.jetbrains.intellij.platform.settings plugin in settings.gradle.kts, which also provides a set for repository helpers to let you add all necessary repositories to the project.
See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html#configuration.dependencyResolutionManagement