NativeScript / NativeScript/nativescript-cli

android plugins built multiple times

Ouverte
#5,414 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

build
Langage dominant
JavaScript
Étoiles
1.1k
Forks
204
Merge moyen
1 j 9 h
PR mergées (30 j)
8

Description

my material components all depend on @nativescript-community/ui-material-core.
If you build an app using multiple of them you ll see something like that
We should only need to build it once.

uilt aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-textfield
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle
Built aar for @nativescript-community/ui-material-core
         + applying user-defined configuration from /Volumes/dev/nativescript/nativescript-material-components/demo-vue/app/App_Resources/Android/before-plugins.gradle

That app shows that behavior: https://github.com/nativescript-community/ui-material-components/tree/master/demo-vue

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par l’application demo-vue liée dans l’issue et reproduisez sa compilation Android avec plusieurs composants Material. Suivez l’endroit où @nativescript-community/ui-material-core et before-plugins.gradle sont traités ; le travail est terminé lorsque l’AAR du core partagé est construit une seule fois, tandis que les plugins dépendants continuent de se construire correctement.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, javascript
Domaine
build-system, cli, mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.