New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include.gradle without default "android { productFlavors {} }" setting crashes during build #542
Comments
2017 July edit: no action was taken regarding rewriting of include.gradles, as pointed out in #542 (comment) Hey @roblav96, there is indeed a flaw in our include.gradle rewriting logic that doesn't test whether the provided configuration file contains a
Let us know if you need additional help setting up! |
OK awesome! I'll test it out and see if it works. Thank you! |
This is a good workaround for the moment. Thanks :D |
@roblav96 after a short discussion we've come to the conclusion that it is not our responsibility to make the Follow the guidelines in our |
@Pip3r4o I couldn't agree with you more! The only reason I didn't do this in the first place was because I was following the
|
@roblav96 as noted previously, some of our articles are outdated, and have not been revisited since, also, we don't remove old, and irrelevant-as-of-this-moment blogs, as they are a good way to document the path NS has gone by. Originally |
@Pip3r4o I totally understand. Is there a way the community could modify those articles as easy as it is to modify the docs? |
@roblav96 The blog posts are there to stay... normally. |
@Pip3r4o OK sounds good. I'm leaving a coment now. |
"not our responsibility to make the include.gradles compliant, as the cases that need to be covered are endless". Yes, software is hard. Releasing stuff that doesn't work is very weak sauce. How hard would it be to print "missing productFlavors" instead of me having to work through the script and find out what it's looking for and getting an index out of range on? At least when you're parsing something and don't find something that has to be there, you notify the user of what's missing. Having failure in an atomic operation inside what's being done is amateurish. In my career that wouldn't be acceptable for in-house software, let alone for the consumption of the world. |
From @roblav96 on August 22, 2016 17:57
Building a plugin using the nativescript-plugin-seed,
I get this gradle build error:
This is
build.gradle line: 348
:In my
plugin/platforms/android/include.gradle
In my
demo/app/App_Resources/app.gradle
Copied from original issue: NativeScript/NativeScript#2613
The text was updated successfully, but these errors were encountered: