NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 196 forks source link

android plugins built multiple times #5414

Open farfromrefug opened 3 years ago

farfromrefug commented 3 years ago

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

mukaschultze commented 11 months ago

Possibly fixed by https://github.com/NativeScript/nativescript-cli/pull/5753