android gradle 低于 2.+ 的插件版本已于 2018 年底弃用,这是真的吗?
android gradle plugin version below 2.+ has been deprecated at end 2018 that is true?
在我当前的 android 项目中,我使用了 android gradle
插件版本 2.3.0 但是当我尝试编译时,我收到了这个警告
Warning:Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018
我在 Google's Maven Repository 中看到,我在 com.android.tools.build -> gradle
中看到我没有找到低于 2.+ 的 gradle 版本的索引
有人知道我的假设是真的吗?如果它是真的,我如何从 google android 官方网站找到此公告的参考 link?
谢谢。
如错误所述,您必须将编译替换为依赖项中的实现,因为编译已过时。
例如请勾选here。
在我当前的 android 项目中,我使用了 android gradle
插件版本 2.3.0 但是当我尝试编译时,我收到了这个警告
Warning:Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed at the end of 2018
我在 Google's Maven Repository 中看到,我在 com.android.tools.build -> gradle
中看到我没有找到低于 2.+ 的 gradle 版本的索引
谢谢。
如错误所述,您必须将编译替换为依赖项中的实现,因为编译已过时。
例如请勾选here。