- Remove all cache configuration (cache section deleted)
- Remove GRADLE_USER_HOME and PUB_CACHE variables
- Disable Gradle parallel builds (parallel=false for stability)
- Remove cache cleanup scripts (no longer needed)
- Remove 'clean' task (no cache to clean)
Build will be slower but guaranteed to work without disk space errors.
Fresh build every time - no cache artifacts taking up space.
- Reduce cached paths: only cache wrapper and modules-2 (not transforms)
- Remove android/.gradle/ and build/ from cache (too large)
- Add before_script cleanup of transform caches and lock files
- Add 'gradle clean' before build to ensure fresh build
- Set explicit cache policy: pull-push
- Fixes 'no space left on device' errors in GitLab runners
Cache size reduced from ~2-3GB to ~200MB
- Build release APKs for all branches (dev, main, feature/*, tags)
- Auto-create GitLab Releases with version v0.0.{PIPELINE_ID}
- Support semantic versioning via git tags (e.g., v0.0.3)
- Include all APK variants (arm64, arm32, x86_64) and torrentengine AAR
- Release triggers automatically on dev/main branches after successful build
- Full release description with commit info and download links
- Artifacts expire in 90 days for releases, 30 days for builds
- Use GitLab Release API with fallback for updates
- Add before_script to create local.properties dynamically
- Set flutter.sdk from FLUTTER_ROOT environment variable
- Set sdk.dir from ANDROID_SDK_ROOT environment variable
- Add ANDROID_HOME as fallback for SDK location
- Auto-detect Android SDK path in CI
- Fixes: Flutter plugin loader requiring local.properties
- Check if local.properties exists before reading
- Fallback to FLUTTER_ROOT environment variable
- Add FLUTTER_ROOT to CI variables
- Set default Flutter path to /opt/flutter for CI
- Fixes: 'local.properties (No such file or directory)' error
- Use saas-linux-medium-amd64 tag for TorrentEngine build (4GB RAM, 2 cores)
- Update documentation with Instance Runner setup guide
- Add comparison table for different runner sizes
- Keep docker tag for other jobs as fallback
- Reduce Gradle RAM from 4GB to 2GB with optimizations
- Add GitLab CI/CD with separate jobs for TorrentEngine and APK
- Add GitHub Actions workflow as alternative
- Enable parallel builds and caching
- Configure automated artifact uploads
- Add comprehensive CI/CD documentation