Skip to content
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

where can get the property value like env.GLUON_ANDROID_KEYSTOREPATH ? #16

Open
anymorefree opened this issue Jun 18, 2022 · 1 comment

Comments

@anymorefree
Copy link

pom.xml:
<version.code>${env.GITHUB_RUN_NUMBER}</version.code>
<provided.keystore.path>${env.GLUON_ANDROID_KEYSTOREPATH}</provided.keystore.path>
<provided.keystore.password>${env.GLUON_ANDROID_KEYSTORE_PASSWORD}</provided.keystore.password>
<provided.key.alias>${env.GLUON_ANDROID_KEYALIAS}</provided.key.alias>
<provided.key.alias.password>${env.GLUON_ANDROID_KEYALIAS_PASSWORD}</provided.key.alias.password>

where those properties values ?

@macgibbon
Copy link

They are from the Android keystore. I think the easiest way to make a keystore is to use Android Studio as described here.

https://developer.android.com/studio/publish/app-signing#generate-key

Once you have the file you can convert it to a base64 string. I used a code snippet like this
new String(java.util.Base64.getEncoder().encode(java.nio.file.Files.readAllBytes(java.nio.file.Paths.get("mykey.jks"))))

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

No branches or pull requests

2 participants