NativeScript / NativeScript/nativescript-cli

android plugins built multiple times

Offen
#5,414 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

build
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der im Issue verlinkten demo-vue-Anwendung und reproduziere ihren Android-Build mit mehreren Material-Komponenten. Verfolge, wo @nativescript-community/ui-material-core und before-plugins.gradle verarbeitet werden; abgeschlossen ist die Aufgabe, wenn das gemeinsame Core-AAR einmal erstellt wird, während abhängige Plugins weiterhin erfolgreich erstellt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, javascript
Bereich
build-system, cli, mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.