![]() The input parameter to this function would be the setting/variable name. ![]() Now in our □□□/□□□□□.□□□□□□ file, we will add a function named getSettings, to read variables from this globalSettings.json file. gitlab-ci.yml file, we added steps to read Gitlab-CICD environment variables to a dynamically created json file named globalSettings.json. Just below the top apply plugin: "" statement in the file, we need to add below line of code to apply GPP plugin:Ģ.Next, we will edit the □□□/□□□□□.□□□□□□ file which the gradlew command would use to create the build, bundle the app and publish the bundle to our Google Play store account. ![]() Open the file ~/.gradle/gradle.properties or android/gradle.properties, in code editor, and remove the following variables. īut now that we have these values moved to to Gitlab CI/CD variables, we can remove those from □□□□□□.□□□□□□□□□□. ![]() ![]() If you have been following this series, in Part II - at the time of manual bundling and publishing of the Android app, we added the Upload keystore file name and its credentials/alias as app level vars android/gradle.properties. □ line#16, we added classpath(“:play-publisher:2.8.0”) as one of the dependency.Īlso updated the version of :gradle to 4.0.0 : classpath(“:gradle:4.0.0”). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |