This message was deleted.
# community-support
s
This message was deleted.
e
c
Doesn’t address all the challenges but this snippet for dependencies allows to use the plugin id instead of coordinates:
Copy code
public fun DependencyHandlerScope.plugin(id: String, version: String): String =
    "$id:$id.gradle.plugin:$version"

public fun DependencyHandlerScope.plugin(plugin: Provider<PluginDependency>): Provider<String> =
    plugin.map { "${it.pluginId}:${it.pluginId}.gradle.plugin:${it.version}" }
🧵 1
🧠 1
👍 1
e
and even if it shows up as red in the IDE in earlier versions, it still works
a
this project is stuck on v7 for now
e
I use version catalog plugin aliases even in v7 and ignore the IDE when it isn't being helpful
👆 1