![]() Once you have found or created the file, its path should be «USER_HOME»/.gradle/gradle.properties. The folder can be found at «USER_HOME»/.gradle. Find or create a gradle.properties file in your Gradle user home folder. ![]() To avoid exposing your secret token, add it as an environment variable: Once this configuration step has been completed, you will be able to reference your credentials in other parts of your app. Instead, you should store them somewhere safe on your computer and take advantage of Gradle properties to make sure they're only added when your app is compiled. You should not expose these access tokens in publicly-accessible source code where unauthorized users might find them. The token you've created is a secret token, which means you will only have one opportunity to copy it somewhere secure.Click the Create token button at the bottom of the page to create your token.From the token creation page, give your token a name and make sure the box next to the Downloads:Read scope is checked.From your account's tokens page, click the Create a token button. ![]()
0 Comments
Leave a Reply. |