Skip to content

build(ksp): ksp and publishing tuning#4462

Merged
jamesarich merged 4 commits into
mainfrom
chore/cleanup
Feb 5, 2026
Merged

build(ksp): ksp and publishing tuning#4462
jamesarich merged 4 commits into
mainfrom
chore/cleanup

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

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:

  • Enabled in-process execution for KSP by setting ksp.run.in.process=true, which can improve build speed and stability. Also enabled intermodule incremental processing with ksp.incremental.intermodule=true in gradle.properties.

Build process enhancements:

  • Updated the JitPack build script in jitpack.yml to run Gradle with additional flags: --no-daemon, --stacktrace, and increased JVM memory allocation (-Xmx4g -XX:+UseParallelGC) for more reliable and performant builds.

…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

codecov Bot commented Feb 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 8.54%. Comparing base (37e9d64) to head (d23bd4f).
⚠️ Report is 5 commits behind head on main.
✅ All tests successful. No failed tests found.

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.
📢 Have feedback on the report? Share it here.

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>
@jamesarich jamesarich enabled auto-merge February 5, 2026 22:19
@jamesarich jamesarich added this pull request to the merge queue Feb 5, 2026
Merged via the queue into main with commit 18aae85 Feb 5, 2026
8 checks passed
@jamesarich jamesarich deleted the chore/cleanup branch February 5, 2026 22:46
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

Successfully merging this pull request may close these issues.

1 participant