-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Slow Gradle Build #702
Comments
I did the following and tried to figure out which library is not working with ksp incremental Added these flags to track the dirty files
I commented compose destinations ksp line in build.gradle and ran the gradlew command
Dirty flag was perfect as below: Dirty / All: 0.05%
When i uncommented the ksp of compose destinations it shows 100% dirty
This makes every line change in the code taking 13 seconds extra for building. I have been stuck with this issue for 2 days. Any help would be deeply appreciated. Simple steps to reproduce
My main question, is this what it is expected due to the library (or) Am I misisng something? |
It looks like you have fixed this issue in v2. Is my understanding correct? |
Everytime we make a code change (eg: add a log line), kspDebugKotlin step takes 13 seconds and causes issues. Is this expected due to annotation library (or) is it supposed to be compiling incrementally?
below is our gradle.properties
Can you please help here how to enable ksp incremental build
org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError
The text was updated successfully, but these errors were encountered: