This message was deleted.
# dependency-management
s
This message was deleted.
t
Not sure what you mean. If you want to know which plugin IDs a given JAR file provides, then look at the files inside
META-INF/gradle-plugins/
https://docs.gradle.org/current/userguide/custom_plugins.html#example_wiring_for_a_custom_plugin
e
@Thomas Broyer Thanks! However, there is only line
Copy code
implementation-class=com.google.android.gms.oss.licenses.plugin.OssLicensesPlugin
So, when I have this line in toml
Copy code
gms-oss-licenses-plugin = "com.google.android.gms.oss-licenses-plugin:0.10.6"
It looks like it is working
At least I see it is downloaded
However, when I try to reference it like
Copy code
plugins {
  alias(libs.plugins.gms.oss.licenses.plugin) apply false 
}
Gradle fails
And this
Copy code
buildscript {
    dependencies {
        // TODO: can not make working the plugin in new way
        classpath libs.google.android.gms.oss.licenses.plugin
    }
}
Makes gradle happy
v
Fails how?
They don't publish the marker artifact that is used to resolve the plugin id to an actual code artifact. That is imho a bug in their release process / plugin project that you should report. In the meantime, you can do that mapping manually in the settings script using a plugin resolution rule: https://docs.gradle.org/current/userguide/plugins.html#sec:plugin_resolution_rules
e
Thanks!
👌 1