Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Environment variables do not work #4

Open
b1acKr0se opened this issue Nov 23, 2016 · 1 comment
Open

Environment variables do not work #4

b1acKr0se opened this issue Nov 23, 2016 · 1 comment

Comments

@b1acKr0se
Copy link

b1acKr0se commented Nov 23, 2016

So I tried to set the environment variable

export ORG_GRADLE_PROJECT_crashlyticsdemoApikey=cc238b2a4866c96030

(To verify that it was added I ran the command declare -px and it was shown in the exported list.)

However this will lead to

Error:(20, 1) A problem occurred configuring project ':app'.

Could not get unknown property 'crashlyticsdemoApikey' for project ':app' of type org.gradle.api.Project.

...when trying to run the project. It passed the CI, though. However I suggest you add to the README that you have to manually add the environment variable in the Setting of Travis.

The gradle.properties obviously works. Just want to let you know about the environment variable thing.

@plastiv
Copy link
Owner

plastiv commented Nov 24, 2016

Thank you for the feedback. I'll emphasise at the readme that in case of using Travis environment variables are manually added in the settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants