Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AI Project Extractor Pro (Extractor-PrPro)

Android app (Kotlin / Jetpack Compose) that scans a project folder or archive and extracts a structured summary of its code. This repository is configured to build a Release APK and AAB automatically on GitHub Actions with no Android Studio required.

Project facts (auto-detected)

Item Value
Language Kotlin (org.jetbrains.kotlin.android 2.2.21)
Android Gradle Plugin 8.10.1
Gradle (wrapper) 8.11.1 (gradle/wrapper/gradle-wrapper.properties)
JDK 17 (set in app/build.gradle.kts and the CI workflow)
compileSdk / targetSdk 36
minSdk 24
buildToolsVersion 36.0.0
Application module :app
namespace com.agon.app
applicationId com.mohammedalbukhaiti.aiprojectextractorpro
App name AI Project Extractor Pro
Main entry app/src/main/java/com/agon/app/MainActivity.kt

Build locally (optional)

Requirements: JDK 17 and the Android SDK (platform 36 + build-tools 36.0.0).

# 1. Generate a debug/release build
./gradlew assembleRelease      # Release APK
./gradlew bundleRelease        # Release AAB (App Bundle)

Outputs are written to:

  • Release APK: app/build/outputs/apk/release/app-release.apk
  • Release AAB: app/build/outputs/bundle/release/app-release.aab

local.properties is machine-specific and is not committed (gitignored).


Automated Release build via GitHub Actions

The workflow lives at .github/workflows/build-release.yml. It:

  1. Checks out the code.
  2. Installs JDK 17 and the Android SDK (platform 36 + build-tools 36.0.0).
  3. Runs Gradle (with caching) to produce assembleRelease + bundleRelease.
  4. Signs the release if you provide a keystore via Secrets; otherwise it falls back to the debug key so the build always succeeds.
  5. Fails with a clear ::error:: message if the expected outputs are not produced.
  6. Uploads the APK and AAB as downloadable artifacts.

Triggering

  • Manual: open the Actions tab → select "Build Release" on the left → click "Run workflow" → Run workflow.
  • Automatic: on push/merge to main, or on any tag like v1.0.0.

Where the APK/AAB are

After a successful run, open the run page → scroll to the Artifacts section → download release-apk and release-aab.


(Optional) Signing the release with your own keystore

If you don't set these Secrets, the release is still built and installable (signed with the debug key). For a Play Store release you must sign with your own keystore.

Add these Secrets (Settings → Secrets and variables → Actions → New repository secret):

Secret Description Example / how to fill
RELEASE_KEYSTORE_BASE64 Your .jks keystore file encoded as base64 base64 -w0 your-key.jks → paste output
RELEASE_STORE_PASSWORD Keystore password the password you used with keytool
RELEASE_KEY_ALIAS The key alias e.g. mykey
RELEASE_KEY_PASSWORD Key password the key's password

No real passwords or keystores are stored in this repository — they are only referenced as GitHub Secrets and injected into the build as environment variables at runtime. Never commit your .jks file or passwords (they are gitignored).

Generate a keystore locally if you don't have one:

keytool -genkey -v -keystore release.jks -alias mykey \
  -keyalg RSA -keysize 2048 -validity 10000
# Then:
base64 -w0 release.jks   # copy the output into RELEASE_KEYSTORE_BASE64

Uploading this project to GitHub

  1. Create an empty repository on GitHub (do not add a README/license there).
  2. From this folder:
    git remote add origin https://github.com/<USER>/<REPO>.git
    git push -u origin arena/01a029dd-extractor-prpro
    (or push your main branch: git push -u origin main)
  3. Push the current branch's commits (including .github/workflows/build-release.yml).
  4. Go to the Actions tab → the workflow appears. Click Run workflow.

Ensure the build outputs (.gradle, build/, local.properties) are not committed — they are covered by the .gitignore in this repository.


Keeping it buildable in the future

  • Bump versions only in app/build.gradle.kts, gradle/wrapper/gradle-wrapper.properties, and keep the AGP/Gradle/JDK compatibility (AGP 8.10.x ↔ Gradle 8.11.x ↔ JDK 17).
  • Regenerate the Gradle wrapper with ./gradlew wrapper --gradle-version <V> after changing the wrapper version.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages