gradle usage

手动安装

下载压缩包之后解压到合适的目录下面

export PATH=$PATH:/Users/zhengjun/project/Library/gradle-5.4/bin

关键字 compile implementation api

compile 关键字已经过期了

Using api is the equivalent of using the deprecated compile, so if you replace all compile with api everything will works as always.