Skip to content

gradle will respect productionDependencies.json file#708

Closed
Plamen5kov wants to merge 1 commit intomasterfrom
plamen5kov/project_template_update
Closed

gradle will respect productionDependencies.json file#708
Plamen5kov wants to merge 1 commit intomasterfrom
plamen5kov/project_template_update

Conversation

@Plamen5kov
Copy link
Copy Markdown
Contributor

Problem:
3.0 cli, installs platform frameworks as dev-dependencies, so gradle shouldn't traverse them.

Solution:
CLI can pass the production dependencies as a json file, that gradle respects, and doesn't traverse unnecessary node_modules packages, searching for .aar files. This template update, does exactly that.

related CLI PR: NativeScript/nativescript-cli#2532

this file will contain all the production dependencies that are provided by cli
if no such file is provided, we'll fallback to the previous behavior of traversing all of the node_modules and searching for all aar files
@Plamen5kov Plamen5kov self-assigned this Feb 14, 2017
@ns-bot
Copy link
Copy Markdown

ns-bot commented Feb 14, 2017

💚

@Plamen5kov Plamen5kov closed this Mar 24, 2017
@petekanev petekanev deleted the plamen5kov/project_template_update branch March 27, 2017 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants