Skip to content
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

Make single instance assertion work with Gradle Configuration Cache #4350

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

j-piasecki
Copy link
Member

Summary

Makes single instance assertion not break builds when using Gradle Configuration Cache.

Related: software-mansion/react-native-gesture-handler#2453

Test plan

Enable Gradle Configuration Cache by adding org.gradle.unsafe.configuration-cache=true in the gradle.properties file. If testing on the Example app, remove disableMultipleInstancesCheck=true.

Build the app with and without this PR.

Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

@piaskowyk piaskowyk added this pull request to the merge queue Apr 20, 2023
Merged via the queue into main with commit 58343aa Apr 20, 2023
9 checks passed
@piaskowyk piaskowyk deleted the @jpiasecki/fix-assert-gradle-configuration-cache branch April 20, 2023 12:19
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
…oftware-mansion#4350)

## Summary

Makes single instance assertion not break builds when using [Gradle
Configuration
Cache](https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:intro).

Related:
software-mansion/react-native-gesture-handler#2453

## Test plan

Enable Gradle Configuration Cache by adding
`org.gradle.unsafe.configuration-cache=true` in the `gradle.properties`
file. If testing on the Example app, remove
`disableMultipleInstancesCheck=true`.

Build the app with and without this PR.
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.

None yet

2 participants