Agent skill

Gplay Gradle Build

by hanamizuki in hanamizuki/solopreneur

Build, sign, and package Android apps with Gradle before uploading to Google Play.

MITAuto-check passedDevOps & Cloud

Install Gplay Gradle Build

skills CLI
$ npx skills add hanamizuki/solopreneur --skill gplay-gradle-build -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hanamizuki/solopreneur gplay-gradle-build --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hanamizuki/solopreneur.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/android-dev/gplay-gradle-build .claude/skills/gplay-gradle-build && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gplay-gradle-build
GitHub stars
152
Token cost
~1.2k tokens
SKILL.md length
175 words
Files
2
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Build, sign, and package Android apps with Gradle before uploading to Google Play.

  • Works in 7 steps: Never commit keystores - Store in secure… → Use environment variables for credentials → Enable ProGuard/R8 for release builds → …
  • Asked to create an APK
  • SKILL.md covers Build Types, Signing Configuration, Version Management and ProGuard/R8 Configuration, plus 5 more sections
  • Needs KEYSTORE_PASSWORD and KEY_PASSWORD

What it does

Gplay Gradle Build is an agent skill from hanamizuki/solopreneur. Build, sign, and package Android apps with Gradle before uploading to Google Play. Use when asked to create an APK or AAB, configure signing, or set up build pipelines.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `_VENDOR.md`).

It sits in DevOps & Cloud, covering CI/CD and Android development. It works with Gradle and Android. The repository describes itself as: Skills and agents for solopreneurs — ship, review, debug, and think through problems with AI. The licence is MIT.

When your agent uses it

  • Asked to create an APK
  • Configure signing
  • Set up build pipelines

Example prompts

  • “/gplay-gradle-build”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Never commit keystores - Store in secure location
  2. Use environment variables for credentials
  3. Enable ProGuard/R8 for release builds
  4. Upload mapping files after each release
  5. Increment version code for every build
  6. Test release builds before uploading
  7. Use App Bundles (AAB) instead of APKs when possible

What it can do on your machine

Read from SKILL.md and the folder at commit f43f001. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash, groovy, properties and yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • KEYSTORE_PASSWORD
    • KEY_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gplay Gradle Build loads about 1.2k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hanamizuki/solopreneur at commit f43f001, republished under its MIT licence (© hanamizuki). 175 words, ~1,210 tokens.

Download SKILL.mdSave it as .claude/skills/gplay-gradle-build/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gplay-gradle-build
description
Build, sign, and package Android apps with Gradle before uploading to Google Play. Use when asked to create an APK or AAB, configure signing, or set up build pipelines.

Gradle Build for Google Play

Use this skill when you need to build an Android app before uploading to Play Store.

Build Types

App Bundles are required for new apps on Google Play:

bash
./gradlew bundleRelease

Output: app/build/outputs/bundle/release/app-release.aab

APK - Legacy

For apps not using bundles:

bash
./gradlew assembleRelease

Output: app/build/outputs/apk/release/app-release.apk

Signing Configuration

build.gradle (app level)
groovy
android {
    signingConfigs {
        release {
            storeFile file(System.getenv("KEYSTORE_FILE") ?: "release.keystore")
            storePassword System.getenv("KEYSTORE_PASSWORD")
            keyAlias System.getenv("KEY_ALIAS")
            keyPassword System.getenv("KEY_PASSWORD")
        }
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}
Environment Variables
bash
export KEYSTORE_FILE=/path/to/release.keystore
export KEYSTORE_PASSWORD=your_keystore_password
export KEY_ALIAS=your_key_alias
export KEY_PASSWORD=your_key_password

./gradlew bundleRelease

Version Management

gradle.properties
properties
VERSION_NAME=1.2.3
VERSION_CODE=123
build.gradle
groovy
android {
    defaultConfig {
        versionCode project.property('VERSION_CODE').toInteger()
        versionName project.property('VERSION_NAME')
    }
}
Increment version
bash
# Read current version
CURRENT_VERSION=$(grep VERSION_CODE gradle.properties | cut -d'=' -f2)
NEW_VERSION=$((CURRENT_VERSION + 1))

# Update gradle.properties
sed -i "" "s/VERSION_CODE=$CURRENT_VERSION/VERSION_CODE=$NEW_VERSION/" gradle.properties

# Build
./gradlew bundleRelease

ProGuard/R8 Configuration

Enable R8 (default in AGP 3.4+)
groovy
buildTypes {
    release {
        minifyEnabled true
        shrinkResources true
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}
Generate mapping file

Mapping file location: app/build/outputs/mapping/release/mapping.txt

Upload to Play Console for crash symbolication:

bash
gplay deobfuscation upload \
  --package com.example.app \
  --edit $EDIT_ID \
  --apk-version 123 \
  --type proguard \
  --file app/build/outputs/mapping/release/mapping.txt

Build Variants

Product Flavors
groovy
android {
    flavorDimensions "version"
    productFlavors {
        free {
            dimension "version"
            applicationIdSuffix ".free"
        }
        paid {
            dimension "version"
        }
    }
}
Build specific flavor
bash
./gradlew bundleFreeRelease
./gradlew bundlePaidRelease

CI/CD Build

GitHub Actions Example
yaml
- name: Build Release AAB
  run: |
    echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > release.keystore
    export KEYSTORE_FILE=release.keystore
    export KEYSTORE_PASSWORD="${{ secrets.KEYSTORE_PASSWORD }}"
    export KEY_ALIAS="${{ secrets.KEY_ALIAS }}"
    export KEY_PASSWORD="${{ secrets.KEY_PASSWORD }}"
    ./gradlew bundleRelease

- name: Upload to Play Store
  env:
    GPLAY_SERVICE_ACCOUNT: ${{ secrets.PLAY_SERVICE_ACCOUNT }}
  run: |
    gplay release \
      --package com.example.app \
      --track internal \
      --bundle app/build/outputs/bundle/release/app-release.aab

Common Build Tasks

Clean build
bash
./gradlew clean bundleRelease
Build with specific SDK versions
bash
./gradlew bundleRelease -PminSdkVersion=21 -PtargetSdkVersion=34
Build without tests
bash
./gradlew bundleRelease -x test -x lint
Build multiple variants
bash
./gradlew bundle  # Builds all variants

Troubleshooting

Build fails with signing errors
bash
# Verify keystore
keytool -list -v -keystore release.keystore
Check AAB contents
bash
bundletool build-apks \
  --bundle=app-release.aab \
  --output=output.apks \
  --mode=universal

unzip output.apks
Verify version codes
bash
./gradlew tasks --all | grep Version

Best Practices

  1. Never commit keystores - Store in secure location
  2. Use environment variables for credentials
  3. Enable ProGuard/R8 for release builds
  4. Upload mapping files after each release
  5. Increment version code for every build
  6. Test release builds before uploading
  7. Use App Bundles (AAB) instead of APKs when possible

© hanamizuki, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/android-dev/gplay-gradle-build of hanamizuki/solopreneur.

  • SKILL.md
  • _VENDOR.md

Open the folder on GitHubat commit f43f001

Compare with similar skills

Gplay Gradle Build next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gplay Gradle Build compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gplay Gradle Build this skillhanamizuki/solopreneur152—~1.2kAutomated safety check: PassMIT
Capturing Preview Screenshots In CIskydoves/android-testing-skills334—~4.5kAutomated safety check: NotesApache-2.0
Gradle Build PerformanceMoustachauve/WLED-Android1693 repos~2kAutomated safety check: PassApache-2.0
Upgrade Notesgetknit/knit133—~1.2kAutomated safety check: PassGPL-3.0
Enforcing Stability In CIrosuH/EasyWatermark1.9k1 repos~4kAutomated safety check: PassApache-2.0
Godot Export Buildsthedivergentai/GD-Agentic-Skills821—~3kAutomated safety check: PassLGPL-3.0

Similar skills

  • Capturing Preview Screenshots In CI

    skydoves/android-testing-skills

    A skill your agent uses to render every Jetpack Compose @Preview as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI.

    334 GitHub stars~4.5k tokensUpdated 4 mo ago
    MobileAuto-check: notes
  • Gradle Build Performance

    Moustachauve/WLED-Android

    Debug and optimize Android/Gradle build performance. An agent skill from Moustachauve/WLED-Android.

    169 GitHub starsUsed in 3 repos~2k tokens
    DevOps & CloudAuto-check passed
  • Upgrade Notes

    getknit/knit

    Read the vendor's breaking changes, deprecations, migration notes and CVEs for every version between the one pinned now and the one being moved to, through the whatsnew MCP server's upgradenotes tool.

    133 GitHub stars~1.2k tokensUpdated yesterday
    SecurityAuto-check passed
  • Enforcing Stability In CI

    rosuH/EasyWatermark

    A skill your agent uses to set up a CI gate that fails the build when Compose stability silently regresses, using the skydoves/compose-stability-analyzer Gradle plugin (primary) or the…

    1.9k GitHub starsUsed in 1 repo~4k tokens
    DevOps & CloudAuto-check passed
  • Godot Export Builds

    thedivergentai/GD-Agentic-Skills

    Expert patterns for multi-platform exports including export templates (Windows/Linux/macOS/Android/iOS/Web), command-line exports (headless mode), platform-specific settings (codesign, notarization…

    821 GitHub stars~3k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Gradle Build Performance

    rcosteira79/android-skills

    A skill your agent uses when Android/Gradle builds are slow — diagnosing bottlenecks with build scans, enabling configuration cache, migrating kapt to KSP, fixing cache misses, and optimizing CI/CD…

    153 GitHub stars~720 tokensUpdated 22 days ago
    DevOps & CloudAuto-check passed

More from hanamizuki/solopreneur

All 31 skills in this repo
  • Preview

    hanamizuki/solopreneur

    Create an interactive HTML preview of any proposal, plan, idea, doc, brief, or spec and land it in the browsable local Preview Library by default (opens under file:// with a catalog sidebar and…

    152 GitHub stars~5.2k tokensUpdated 14 days ago
    Auto-check passed
  • iOS Patterns

    hanamizuki/solopreneur

    A skill your agent uses when building iOS/macOS apps with SwiftUI — covers localization (String Catalogs), date/time formatting, JSON date decoding, Previews, state management, sheet/navigation…

    152 GitHub stars~2.3k tokensUpdated 14 days ago
    Auto-check: notes
  • Linkedin Growth

    hanamizuki/solopreneur

    LinkedIn organic growth consultant — diagnoses profiles, discusses goals, and co-creates a personalized 90-day growth plan.

    152 GitHub stars~3.7k tokensUpdated 14 days ago
    Auto-check passed
  • Perspective

    hanamizuki/solopreneur

    Switch perspectives to think through problems using the mental models of ten iconic thinkers: Elon Musk, Richard Feynman, Charlie Munger, Naval Ravikant, Steve Jobs, Nassim Taleb, Ilya Sutskever…

    152 GitHub stars~971 tokensUpdated 14 days ago
    Auto-check passed
  • Slide Design

    hanamizuki/solopreneur

    Create brand-aware presentations using frontend-slides or reveal.js.

    152 GitHub stars~3.9k tokensUpdated 14 days ago
    Auto-check passed
  • X Growth

    hanamizuki/solopreneur

    X/Twitter growth consultant — diagnoses profiles, discusses goals, and co-creates a personalized growth plan.

    152 GitHub stars~3.8k tokensUpdated 14 days ago
    Auto-check passed

Works with

Questions about Gplay Gradle Build

What does Gplay Gradle Build do?

Build, sign, and package Android apps with Gradle before uploading to Google Play. Gplay Gradle Build is an agent skill from hanamizuki/solopreneur. Build, sign, and package Android apps with Gradle before uploading to Google Play.

When should I use Gplay Gradle Build?

Gplay Gradle Build fits situations like: asked to create an APK; configure signing; set up build pipelines.

How do I install Gplay Gradle Build in Claude Code?

Run `npx skills add hanamizuki/solopreneur --skill gplay-gradle-build -a claude-code`. Or copy the skill folder (skills/android-dev/gplay-gradle-build in hanamizuki/solopreneur) into .claude/skills/gplay-gradle-build in your project. Claude Code loads it when a task matches its description.

How do I install Gplay Gradle Build in Codex?

Run `npx skills add hanamizuki/solopreneur --skill gplay-gradle-build -a codex`. Or copy the skill folder (skills/android-dev/gplay-gradle-build in hanamizuki/solopreneur) into .agents/skills/gplay-gradle-build in your project. Codex loads it when a task matches its description.

Can I use Gplay Gradle Build in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hanamizuki/solopreneur --skill gplay-gradle-build -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gplay-gradle-build, .gemini/skills/gplay-gradle-build, .github/skills/gplay-gradle-build and .opencode/skills/gplay-gradle-build in your project.

What does Gplay Gradle Build need to run?

Going by SKILL.md and its folder, Gplay Gradle Build needs credentials named KEYSTORE_PASSWORD and KEY_PASSWORD.

Does Gplay Gradle Build access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gplay Gradle Build safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gplay Gradle Build use?

Gplay Gradle Build is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gplay Gradle Build use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gplay Gradle Build?

Skills that share tags, products or a category with Gplay Gradle Build: Capturing Preview Screenshots In CI (skydoves/android-testing-skills, 334 stars), Gradle Build Performance (Moustachauve/WLED-Android, 169 stars), Upgrade Notes (getknit/knit, 133 stars) and Enforcing Stability In CI (rosuH/EasyWatermark, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gplay Gradle Build?

hanamizuki (a GitHub user) maintains it in hanamizuki/solopreneur, which has 152 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on September 26, 2026.

Source: hanamizuki/solopreneur on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.