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

Specify API key in gradle.properties #38

Open
gb96 opened this issue Jul 6, 2015 · 0 comments
Open

Specify API key in gradle.properties #38

gb96 opened this issue Jul 6, 2015 · 0 comments

Comments

@gb96
Copy link

gb96 commented Jul 6, 2015

The testfairy API key should not be visible inside the build.gradle, particularly for an open-source project. Instead the key should be specified in a gradle.properties file that is not included in version-control.

I had a few problems getting this to work correctly, the main issue was putting gradle.properties in the correct directory (can be either in the same directory as build.gradle or in USER_HOME/.gradle). I also had a problem with the double-quotes around my API key. When you move the key into a gradle.properties you must remove the double quotes around it otherwise the key is rejected.

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

No branches or pull requests

1 participant