# Publishing with Gradle (Revisited)

DevFeed: [Publishing with Gradle (Revisited)](<https://devfeed.tech/articles/publishing-with-gradle-revisited-38379.md>)

Original publisher: [Read original article](<https://meedamian.com/post/publishing-with-gradle-revisited/>)

Author: hi@meedamian.com (Damian Mee)

Published: 2015-03-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Damian Mee | Blog | Portfolio | About](<https://devfeed.tech/sources/damian-mee-blog-portfolio-about.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [ci](<https://devfeed.tech/topics/ci.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [passwords](<https://devfeed.tech/topics/passwords.md>)

Tags: [apk](<https://devfeed.tech/tags/apk.md>), [ci](<https://devfeed.tech/tags/ci.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [env-file-security](<https://devfeed.tech/tags/env-file-security.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [properties](<https://devfeed.tech/tags/properties.md>), [repo](<https://devfeed.tech/tags/repo.md>)

## AI overview

A revised tutorial on publishing Android APKs with Gradle. It explains how to keep sensitive signing variables outside the repository, make them available locally and on CI systems, load Gradle properties safely, and handle generated APK and mapping files.

## Source excerpt

tl;wr: use this. Paragraph that everybody will ignore Since my last post a lot has changed, broken down and new things are possible. Let's see what can be done now. Configuration Handling missing variables Previously gradle.properties contained sensitive info (passwords, duh), so it had to be .gitignore'd, that caused Could not find property errors just after repo clone and was unusable on CI systems. It can be fixed by adding: