Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加全埋点后,大大降低构建速度,想问下怎样开启增量构建和gradle cache支持? #96

Open
ameryzhu opened this issue Apr 8, 2022 · 3 comments

Comments

@ameryzhu
Copy link

ameryzhu commented Apr 8, 2022

No description provided.

@dengshiwei
Copy link
Contributor

目前我们的插件是默认开启增量编译的。关于 cache 的开启,你可以参照:
image

@ameryzhu
Copy link
Author

目前我们的插件是默认开启增量编译的。关于 cache 的开启,你可以参照: image

加了,还是非常慢,比不加全埋点plugin,多花6分钟时间构建。
com.sensorsdata.analytics.android:android-gradle-plugin2:3.4.4

@dengshiwei
Copy link
Contributor

@ameryzhu 你这边可以 ./gradlew --profile --rerun-tasks assembleDebug 指令对比一下前后的耗时,看看是哪些任务的耗时增加了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants