wequick / Small

A small framework to split app into small parts
http://code.wequick.net/Small
Apache License 2.0
5.05k stars 1.11k forks source link

创建配置small gradle配置报错 #583

Open stronghe123 opened 6 years ago

stronghe123 commented 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

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
liulianshanzhu commented 5 years ago

@stronghe123 你好,请问你解决这个问题了吗?我的编译环境是3.2.0,改成2.3.0还是包这个异常。

LYChunGit commented 5 years ago

这不是报错是建议你项目compile引用的包改为implementation 或者 api