main
Gitea Release / build-and-release (push) Successful in 5m45s
Munich Departures
An Android application for Munich public transport departures, featuring devshell and automated Gitea CI/CD workflows.
View your app in AI Studio: https://ai.studio/apps/9c59cfb4-12a7-42ef-ae43-53c4408c63ad
Development Environment (Nix / Devbox)
This project contains a Nix development shell setup (flake.nix & devbox.json) providing consistent tooling (JDK 17 and Android SDK Platform 36 / Build-tools 36.0.0).
Entering the Devshell
If you have direnv installed, it will automatically load when you enter this directory. Alternatively, you can use:
nix develop
# or
devbox shell
Build Commands
All Gradle commands should be run within the devshell environment:
nix develop -c ./gradlew build- Build the entire projectnix develop -c ./gradlew assembleDebug- Build debug APKnix develop -c ./gradlew assembleRelease- Build release APKnix develop -c ./gradlew test- Run all unit tests
Local Setup
- Prerequisites: Android Studio or the Nix development shell.
- Create a file named
.envin the project root directory and set your Gemini API key (see.env.examplefor details):GEMINI_API_KEY=your_gemini_api_key_here - Run the app on an emulator or physical device.
Gitea CI/CD & Releases
The project features an automated Gitea release workflow configured in .gitea/workflows/release.yml.
Creating a Release
To publish a new version:
- Bump the
versionNameinapp/build.gradle.kts(e.g.versionName = "0.1.0") and increment theversionCode. - Commit the bump and push it:
git commit -am "chore(release): bump version to 0.1.0" git push origin main - Create and push a tag matching
v*:git tag v0.1.0 git push origin v0.1.0 - The Gitea Actions runner will detect the tag, build the release variant of the APK, rename it to
munich-departures-v0.1.0.apk, and upload it directly to Gitea Releases.
Description
Releases
1
Release v0.1.0
Latest
Languages
Kotlin
97.8%
Nix
2.2%
