docs(tutorial): Explicitly set Java lang for create plugin command#524
Open
OS-pedrogustavobilro wants to merge 2 commits intomainfrom
Open
docs(tutorial): Explicitly set Java lang for create plugin command#524OS-pedrogustavobilro wants to merge 2 commits intomainfrom
OS-pedrogustavobilro wants to merge 2 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
|
so Anyway, could be good to also add the author and directory so it doesn't prompt anything. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1-liner PR.
With create-capacitor-plugin version 0.21.0, users can now specify
android-langargument to decide whether to use Java or Kotlin for the programming language for their plugin on Android.Since the tutorial in the docs is Java-based, this PR updates the command to explicitly set the language being used (so that users don't have to prompt it afterwards). Maybe one day the tutorial can be revamped to use Kotlin (as well as probably a myriad of other updates), but that's not gonna happen in this PR.
Only added to the current docs, because it was added after official Cap 8 support in the create plugin package, so I don't see it making much sense adding for older versions, but please correct me if I'm wrong.