-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cordova project ignores build-extras after toolchain upgrade #552
Comments
Please show exactly exactly what you did in plugin.xml for both 6.4 and 7.1.2. I think we will have to fix A major bonus is if you can show us a plugin we can use to test the solution. |
In my case I did nothing with plugins. I just add a Steps for reproduce:
adding the same file to |
That is because the Android project structure was changed in 7.0. I just raised apache/cordova-docs#905 to update the documentation. |
I know the structure has changed. But why also change the location of the build-extras.gradle? All other configuration files e.g.: release-signing.properties are still referenced from the old location: platforms/android/ |
Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
I just pushed an update to PR #553 to check both locations. |
That was probably overlooked when changing the project structure back in 7.x. You would have to go back to those commits where the other paths were handled and see if there maybe is a comment in the PR or commit message. |
Here is one issue (CB-13615) reflecting the new structure and changing the paths accordingly. But this is only for the signing configurations. |
From the history it looks like the work was done in PR #389. It seems like they did try to preserve compatibility, but evidently it was not preserved 100%.
I find that really interesting, just discovered that |
Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
…ctory (#553) as documented in https://cordova.apache.org/docs/en/latest/guide/platforms/android/?#extending-buildgradle and deal with multiple build-extras.gradle locations Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
…t directory (apache#553) as documented in https://cordova.apache.org/docs/en/latest/guide/platforms/android/?#extending-buildgradle and deal with multiple build-extras.gradle locations Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Closing since PR #553 was merged. This should be fixed in upcoming 7.1.3 release. |
…t directory (apache#553) as documented in https://cordova.apache.org/docs/en/latest/guide/platforms/android/?#extending-buildgradle and deal with multiple build-extras.gradle locations Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
…t directory (apache#553) as documented in https://cordova.apache.org/docs/en/latest/guide/platforms/android/?#extending-buildgradle and deal with multiple build-extras.gradle locations Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
…t directory (apache#553) as documented in https://cordova.apache.org/docs/en/latest/guide/platforms/android/?#extending-buildgradle and deal with multiple build-extras.gradle locations Co-authored-by: David Boho <david.boho@tu-ilmenau.de> Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
After upgrade my project from cordova-android 6.4 to 7.1.2 my build-extras.gradle get not applied anymore. I checked the documentation for changes but there is still mentioned to place the
build-extras.gradle
file toplatforms/android/
.When I place my
build-extras.gradle
file toplatforms/android/app/
all work like expected.The text was updated successfully, but these errors were encountered: