Small
Small copied to clipboard
创建配置small gradle配置报错
- [x] 我已阅读并理解 贡献指南,严格遵循其约定。
错误报告
你做了什么?
在root 的build.gradle文件中导出 dependencies { classpath 'net.wequick.tools.build:gradle-small:1.5.0-beta1' } apply plugin: 'net.wequick.small'
你期望的结果是什么?
成功没有报错
实际结果是什么?
报错 Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Small环境
Configure project :app WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Task :small
Compile-time
gradle-small plugin : 1.3.0-beta2 (maven)
small aar : 1.3.0-beta2 (maven)
gradle core : 4.4
android plugin : 3.1.3
OS : Mac OS X 10.13.5 (x86_64)
Bundles
type | name | PP | sdk | aapt | support | file | size |
---|---|---|---|---|---|---|---|
host | app | 27 | 27.0.3 |
@stronghe123 你好,请问你解决这个问题了吗?我的编译环境是3.2.0,改成2.3.0还是包这个异常。
这不是报错是建议你项目compile引用的包改为implementation 或者 api