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

Write configuration file to pass env variables/properties for Android projects. #118

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

alex-iotiq
Copy link
Contributor

Creates a configuration file kopeme_config.json for Android projects inside its resources folder.
Writes the values of "KOPEME_HOME" environment variable and "kopeme.workingdir" property into it.

* Writes Android configuration file inside "app/src/main/resources" to pass values for KoPeMe inside the emulator.
*/
private void writeAndroidConfigJson() {
ObjectMapper mapper = new ObjectMapper();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Is there any reason to create a new ObjectMapper instead of the ObjectMapper from Constants?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't see that there is already an ObjectMapper.

I've changed it here a2ca497

@DaGeRe
Copy link
Owner

DaGeRe commented Dec 7, 2022

Thanks for the update, looks fine to me.

@DaGeRe DaGeRe merged commit 71ea6d5 into DaGeRe:develop Dec 7, 2022
@alex-iotiq alex-iotiq deleted the kopeme-home branch December 21, 2022 13:55
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

Successfully merging this pull request may close these issues.

2 participants