https://kotlinlang.org logo
Title
c

CLOVIS

03/16/2023, 6:56 PM
Does anyone know what the Android plugin maven coordinates are? In convention plugins, we're supposed not to use the plugin ID
h

hfhbd

03/16/2023, 6:59 PM
You could always use the marker plugin id, it is basically a redirect:
"$id:$id.gradle.plugin:$version"
, so for android this is the marker id:
"com.android.application:com.android.application.gradle.plugin:7.4.2"
.
The actual coordinates are
com.android.tools.build:gradle:7.4.2
.
<https://maven.google.com/web/index.html#com.android.tools.build:gradle:7.4.2>
c

CLOVIS

03/16/2023, 7:04 PM
Is the same ID for Application & Library?
h

hfhbd

03/16/2023, 7:04 PM
Yes
c

CLOVIS

03/16/2023, 7:04 PM
Thanks
d

dsvoronin

03/16/2023, 10:29 PM
Yep, it contains multiple plugins, you can find the list here: https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:[…]ystem/gradle-core/src/main/resources/META-INF/gradle-plugins/ every file declares corresponding plugin id, and contains implementation class