How to setup plugin project Gradle configuration to target Android Studio and specific Android plugin version
Answered
I have setup my build.gradle like this:
intellij {
version.set("2021.2")
type.set("IC")
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"?
Please sign in to leave a comment.
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 https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension-type