Skip to content

Conversation

m-bert
Copy link
Contributor

@m-bert m-bert commented Oct 8, 2025

Note

Supersede #3335

Description

This PR contains cherry picked commits from #3335 as merging changes after migrating into monorepo became quite painful 😞

  1. appProject seems to be left unused after chore: Remove unused env variable #3091
  2. adding configureEach allows for lazy task initialization

Original description

Description

This PR optimises pre-build time of Gesture Handler android, taking it down from ~7s to ~0.6s, a 11x improvement.

  • baseline:
  • optimised:

fixes: #2865

Optimisation of the example app pre-build time will be done in a separate PR,
so far i took it down from 13s to 0.1s (caching & on-demand building).

Test plan

  • Run ./gradlew help --scan to see pre-build performance
  • Build app to see everything still works

@m-bert m-bert requested a review from j-piasecki October 8, 2025 17:46
@m-bert m-bert changed the title [Android] build.gradle cleanup. [Android] build.gradle cleanup Oct 8, 2025
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.

Improve Gradle build by declaring output
2 participants