Skip to content

Support Gradle files from plugins and merge android resource files using aapt #1048

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

Closed
Fatme opened this issue Oct 12, 2015 · 0 comments
Closed
Labels
Milestone

Comments

@Fatme
Copy link
Contributor

Fatme commented Oct 12, 2015

Plugin structure

  • All resource files (AndroidManifest.xml, strings.xml, styles.xml) should be inside platforms/android folder in plugin. The manifest should be in the root and all other resources should be in the respective folders (res\...)
  • The user should be able to create include.gradle file in platforms/android folder. If the plugin doesn't contain include.gradle CLI will generate a default one.

Plugin Prepare command

CLI will copy the include.gradle file from the plugin if such file exists to platforms/android/src/plugins/<plugin-name> directory. In case where such files does not exist a default one will be generated.

CLI will create platforms/android/src/plugins/<plugin-name> directory and will copy all resource files from plugin to this folder. They will be automatically merged by the aapt tool.

Plugin remove command

CLI will remove platforms/android/src/plugins/<plugin-name> and platforms/android/src/<plugin-name> directories

@Fatme Fatme added this to the 1.5.0 milestone Oct 12, 2015
@ligaz ligaz changed the title Merge android resource files using aapt Support Gradle files from plugins and merge android resource files using aapt Oct 12, 2015
@Fatme Fatme added the feature label Oct 14, 2015
@vchimev vchimev closed this as completed Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants