How to setup plugin project Gradle configuration to target Android Studio and specific Android plugin version


Follow up from

I have setup my build.gradle like this:

intellij {
plugins.set(listOf("android", "java"))

Can the version of the Android plugin be specified or my plugin only gets what is bundled with Android Studio "2021.2"?

1 comment
Comment actions Permalink

Hi Hugo,

If you specify the dependency on a bundled plugin, you will get what is bundled.

Please also note that you can use `type.set("AI")` to get Android Studio configured as the project IDE, see


Please sign in to leave a comment.