Compare commits

...

4 Commits

Author SHA1 Message Date
d88588c843 Merge branch 'feature/torrent-engine-integration' into 'main'
Remove obsolete torrent Kotlin files and fix CI build

See merge request foxixus/neomovies_mobile!3
2025-10-02 16:14:57 +00:00
factory-droid[bot]
ae8e6faccb Completely disable GitLab CI cache to fix disk space issues
- 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.
2025-10-02 16:12:43 +00:00
54a533f267 Merge branch 'feature/torrent-engine-integration' into 'main'
fix(build): resolve Gradle and manifest issues for TorrentEngine

See merge request foxixus/neomovies_mobile!2
2025-10-02 14:30:46 +00:00
143a5cf8a5 Merge branch 'feature/torrent-engine-integration' into 'main'
better

See merge request foxixus/neomovies_mobile!1
2025-10-02 12:18:39 +00:00

View File

@@ -4,31 +4,17 @@ stages:
- deploy - deploy
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs='-Xmx2048m' -Dorg.gradle.parallel=true" GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs='-Xmx2048m' -Dorg.gradle.parallel=false"
GRADLE_USER_HOME: "${CI_PROJECT_DIR}/.gradle"
PUB_CACHE: "${CI_PROJECT_DIR}/.pub-cache"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .gradle/wrapper
- .gradle/caches/modules-2
- .pub-cache/
policy: pull-push
build:torrent-engine: build:torrent-engine:
stage: build stage: build
image: mingc/android-build-box:latest image: mingc/android-build-box:latest
before_script: before_script:
- echo "sdk.dir=${ANDROID_SDK_ROOT:-/opt/android-sdk}" > android/local.properties - echo "sdk.dir=${ANDROID_SDK_ROOT:-/opt/android-sdk}" > android/local.properties
# Clean up old Gradle cache to free space
- rm -rf .gradle/caches/transforms-*
- rm -rf .gradle/caches/*/transforms
- find .gradle/caches -name "*.lock" -type f -delete || true
script: script:
- cd android - cd android
- chmod +x gradlew - chmod +x gradlew
- ./gradlew clean :torrentengine:assembleRelease --no-daemon --stacktrace - ./gradlew :torrentengine:assembleRelease --no-daemon --stacktrace
artifacts: artifacts:
paths: paths:
- android/torrentengine/build/outputs/aar/*.aar - android/torrentengine/build/outputs/aar/*.aar