阅读背景:

如何从我自己的Gradle插件中确定正在使用的Android Gradle插件版本?

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: