Cyburst.io

Any fool can know. The point is to understand

GitLab CI/CD – Android Studio Setup (Part-2)

Notes: This article is the 2nd part of the "Gitlab CI/CD - Android" series. It is direct follow up to Part-1, so I highly recommend you read it first before starting.

Setup Gradle Play Publisher Plugin

Open your project-level build.gradle (not app/build.gradle) file and set the classpath

now open build.gradle(app/build.gradle) file and add the below line at the top of the file

apply plugin: 'com.github.triplet.play'

Set Sign In Config

If no publishing tasks were created, you most likely haven’t added a valid signing configuration to your release build. Be sure to add one.

Note: add this in app/build.gradle and make sure to put the jks file in the same directory like app/my-release-key.jks

Yay!! Android Studio Project is ready with the “Gradle Play Publisher plugin” and “Singin Configuration”.Now we need to set GitLab CI/CD Variable and Google PlayStore Authentication which we will see in the next part. Stay Tuned!!!

Cyburst Logo

Don’t miss the latest posts!

We don’t spam! Read our privacy policy for more info.

Rutvik Bhatt

Experienced mobile app developer with a demonstrated history of working in the information technology and services industry. Skilled in Android, React-Native, Flutter, Dialog Flow, Firebase, Cloud Functions. Focused in mobile technologies and software development.

8 thoughts on “GitLab CI/CD – Android Studio Setup (Part-2)

  1. Hello there! I could have sworn I’ve visited this web site before but after browsing through a few of the posts I realized it’s new to me.
    Anyhow, I’m certainly pleased I found it and I’ll be bookmarking it and
    checking back regularly!

  2. Spot on with this write-up, I really believe this web site needs a great deal more attention. I’ll probably be returning to read through more, thanks
    for the advice!

  3. Excellent post. Keep writing such kind of information on your page.
    Im really impressed by it.
    Hi there, You’ve done an excellent job. I will definitely
    digg it and for my part recommend to my friends. I’m confident they’ll be benefited from this website.

  4. Hey just wanted to give you a quick heads up and let you know a
    few of the pictures aren’t loading correctly. I’m not sure why but
    I think its a linking issue. I’ve tried it in two different web browsers and both show the same results.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top