callstack / callstack/react-native-pager-view
Gradle warning when configuring app project
- Langage dominant
- TypeScript
- Étoiles
- 3.4k
- Forks
- 476
- Merge moyen
- 10 j 21 h
- PR mergées (30 j)
- 2
Description
## Environment
react-native-pager-view 5.2.1
react-native 0.64.2
Gradle 6.7
## Description
When gradle configures my project, I get the following warning:
```
> Configure project :react-native-pager-view
Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See https://docs.gradle.org/6.7/dsl/org.gradle.api.artifacts.Configuration.html#org.gradle.api.artifacts.Configuration:extendsFrom(org.gradle.api.artifacts.Configuration[]) for more details.
```
## Reproducible Demo
I ran `./gradlew clean` on the command line of my project.
I suspect it will reproduce with any project using Gradle 6.7.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire l’avertissement avec ./gradlew clean dans un projet utilisant react-native-pager-view 5.2.1, React Native 0.64.2 et Gradle 6.7. Étudiez la configuration Gradle de react-native-pager-view qui s’exécute lors de la configuration du projet de l’application. Le travail est terminé lorsque l’avertissement concernant la dépendance Configuration obsolète n’apparaît plus.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native
- Domaine
- build-system, mobile
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100