Android Studio中可以在Terminal输入./gradlew代表gradle
gradle -q projects
./gradlew assembleRelease
./gradlew assembleDebug --profile(在project的build/reports/profile下会生成报告文件,打开可在浏览器直观查看)
./gradlew assembleOppoRelease
./gradlew :app:dependencies > log.txt
./gradlew build --refresh-dependencies