Skip to content

Commit

Permalink
【Gradle-16】直接Run和使用命令行编译有什么区别
Browse files Browse the repository at this point in the history
  • Loading branch information
yechao committed May 7, 2024
1 parent 9a6f5f8 commit 679a867
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- [【Gradle-13】SNAPSHOT版本检查](https://juejin.cn/post/7292416512333840438)
- [【Gradle-14】编译优化之Gradle最佳配置实践](https://juejin.cn/post/7344625554529730600)
- [【Gradle-15】源码和AAR的依赖替换指南](https://juejin.cn/post/7354940230301696009)
- [【Gradle-16】直接Run和使用命令行编译有什么区别](https://juejin.cn/spost/7366154691031875618)

### 插件功能(Feature)
- [x] 打印依赖树
Expand Down
6 changes: 6 additions & 0 deletions buildDebug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
./gradlew clean
./gradlew assembleDebug --stacktrace -PisDebug=true
adb install -r build/outputs/apk/debug/app-debug.apk
adb shell am start -n com.yechaoa.gradlex/.MainActivity
echo "install and start app"
2 changes: 1 addition & 1 deletion useLocal.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"useLocal": true,
"useLocal": false,
"moduleName": "yutilskt",
"modulePath": "../YUtils/yutilskt",
"moduleGav": "com.github.yechaoa.YUtils:yutilskt:3.4.0"
Expand Down

0 comments on commit 679a867

Please sign in to comment.