NativeScript / NativeScript/nativescript-cli

android plugins built multiple times

Aperta
#5,414 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

build
Lingua principale
JavaScript
Stelle
1.1k
Fork
204
Merge medio
1g 9h
PR unite (30g)
8

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con l'applicazione demo-vue collegata nell'issue e riproduci la sua build Android utilizzando più componenti Material. Traccia dove vengono elaborati @nativescript-community/ui-material-core e before-plugins.gradle; il lavoro è completato quando l'AAR del core condiviso viene compilato una sola volta, mentre i plugin dipendenti continuano a essere compilati correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, javascript
Ambito
build-system, cli, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.