Skip to content

chore: Remove unused env variable#3091

Merged
tjzel merged 1 commit into
mainfrom
@tjzel/remove-env-var
Sep 16, 2024
Merged

chore: Remove unused env variable#3091
tjzel merged 1 commit into
mainfrom
@tjzel/remove-env-var

Conversation

@tjzel

@tjzel tjzel commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

Seems to be unused

image

@tjzel tjzel requested a review from j-piasecki September 6, 2024 17:38
@tjzel tjzel merged commit ce786f0 into main Sep 16, 2024
@tjzel tjzel deleted the @tjzel/remove-env-var branch September 16, 2024 14:29
m-bert added a commit that referenced this pull request Oct 13, 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 #3091 
2. adding `configureEach` allows for [lazy task initialization](https://docs.gradle.org/current/userguide/task_configuration_avoidance.html#sec:old_vs_new_configuration_api_overview)

# 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:
  - time 6.776s ([link](https://gradle.com/s/h5iselfgzhafi))
  - time 7.391s ([link](https://scans.gradle.com/s/6sz4ssuepvema))
- optimised:
  - time 0.687s ([link](https://gradle.com/s/zwiujfjblp64s))
  - time 0.560s ([link](https://gradle.com/s/i5xqega7pazja))
  - time 0.596s ([link](https://gradle.com/s/ohcnspquhmau4))

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
j-piasecki pushed a commit that referenced this pull request Oct 27, 2025
> [!NOTE]
> Supersede #3335

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 #3091
2. adding `configureEach` allows for [lazy task initialization](https://docs.gradle.org/current/userguide/task_configuration_avoidance.html#sec:old_vs_new_configuration_api_overview)

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

- baseline:
  - time 6.776s ([link](https://gradle.com/s/h5iselfgzhafi))
  - time 7.391s ([link](https://scans.gradle.com/s/6sz4ssuepvema))
- optimised:
  - time 0.687s ([link](https://gradle.com/s/zwiujfjblp64s))
  - time 0.560s ([link](https://gradle.com/s/i5xqega7pazja))
  - time 0.596s ([link](https://gradle.com/s/ohcnspquhmau4))

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).

- Run `./gradlew help --scan` to see pre-build performance
- Build app to see everything still works
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.

Android Brownfield app can't find buildDir when using new archtecture

2 participants