build(ksp): ksp and publishing tuning#4462
Merged
Merged
Conversation
…rocessing Enables two KSP (Kotlin Symbol Processing) flags to improve build performance: - `ksp.run.in.process=true` - `ksp.incremental.intermodule=true` Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4462 +/- ##
=====================================
Coverage 8.54% 8.54%
=====================================
Files 420 420
Lines 14216 14216
Branches 2359 2359
=====================================
Hits 1215 1215
Misses 12781 12781
Partials 220 220 ☔ View full report in Codecov by Sentry. |
Stops the Gradle daemon before the install step to ensure a clean state. The install command is now more specific, publishing only the `core:proto`, `core:model`, and `core:api` modules to Maven Local. This avoids building and publishing all modules. Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
…ame artifacts to meshtastic-android-*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces configuration improvements for both the Gradle build and the JitPack build process. The main focus is on optimizing Kotlin Symbol Processing (KSP) behavior and enhancing build reliability and performance.
Build and KSP configuration improvements:
ksp.run.in.process=true, which can improve build speed and stability. Also enabled intermodule incremental processing withksp.incremental.intermodule=trueingradle.properties.Build process enhancements:
jitpack.ymlto run Gradle with additional flags:--no-daemon,--stacktrace, and increased JVM memory allocation (-Xmx4g -XX:+UseParallelGC) for more reliable and performant builds.