赞
踩
./gradlew --help
./gradlew build
./gradlew assembleDebug
or /gradlew aD
./gradlew installDebug
or /gradlew iD
./gradlew assembleRelease
or /gradlew aR
./gradlew installRelease
or /gradlew iR
./gradlew assembleDebug --info
or ./gradlew assembleRelease --info
./gradlew clean
./gradlew uninstallDebug
or ./gradlew uninstallRelease
Uninstalling com.yechaoa.gradlex (from app:debug) from device 'Pixel_5_API_31(AVD) - 12' (emulator-5554).
Uninstalled com.yechaoa.gradlex from 1 device
adb uninstall com.autopai.smart.sound.effect
* Try:
> Run gradle tasks to get a list of available tasks.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
./gradlew assembleDebug --stacktrace
or ./gradlew assembleDebug -s
./gradlew assembleDebug --full-stacktrace
or ./gradlew assembleDebug -S
-q,--quiet
仅记录错误。
-w,--warn
将日志级别设置为警告。
-i,--info
将日志级别设置为信息。
-d,--debug
调试模式(包括正常的stacktrace)
./gradlew assembleDebug -w
./gradlew tasks
./gradlew tasks --all
./gradlew taskName
or ./gradlew :moduleName:taskName
./gradlew dependencies
./gradlew app:dependencies
./gradlew app:dependencies > dependencies.txt
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。