Context
I'm writing a Gradle plugin for Android projects. My plugin relies on some methods from the Android Gradle plugin, but the exact calls I need to use have changed as the Android Gradle plugin has evolved (e.g. the methods I need are different in v2.1.2 vs v2.2.2 of the Android Gradle plugin). I want to get the Android Gradle plugin version programmatically from within my own plugin, and then invoke the appropriate methods for that version.I'm writing a Gradle plugin for Andro