software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.12k stars 981 forks source link

Improve Gradle build by declaring output #2865

Open pvdmde opened 7 months ago

pvdmde commented 7 months ago

Description

Android Studio identifies this library as the top offender in our build increasing (local) build time. There has been a few changes in Gralde lately and libraries can improve build performance by using the new APIs, in this case declaring outputs (which can be checked by gradle and the task could be skipped) I'll see what additional info I can provide.

Steps to reproduce

Run the app, see the Warning in the "Build" pane under Warnings.

Snack or a link to a repository

NotAble

Gesture Handler version

2.14.1

React Native version

0.72.6

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 7 months ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

pvdmde commented 7 months ago

It's not possible for me to create a snack or a repo, sorry. I hope it can still be verified by someone.