Open stronghe123 opened 6 years ago
在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
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
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
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)
@stronghe123 你好,请问你解决这个问题了吗?我的编译环境是3.2.0,改成2.3.0还是包这个异常。
这不是报错是建议你项目compile引用的包改为implementation 或者 api
错误报告
你做了什么?
在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环境
Compile-time
Bundles