mirror of
https://gitlab.com/foxixus/neomovies_mobile.git
synced 2025-10-27 23:18:49 +05:00
Compare commits
4 Commits
e115434f4e
...
4b0fa8aad6
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b0fa8aad6 | |||
|
|
f8ba6c69d2 | ||
| 54a533f267 | |||
| 143a5cf8a5 |
@@ -11,20 +11,24 @@ variables:
|
|||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- .gradle/
|
- .gradle/wrapper
|
||||||
|
- .gradle/caches/modules-2
|
||||||
- .pub-cache/
|
- .pub-cache/
|
||||||
- android/.gradle/
|
policy: pull-push
|
||||||
- build/
|
|
||||||
|
|
||||||
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 :torrentengine:assembleRelease --no-daemon --stacktrace
|
- ./gradlew clean :torrentengine:assembleRelease --no-daemon --stacktrace
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- android/torrentengine/build/outputs/aar/*.aar
|
- android/torrentengine/build/outputs/aar/*.aar
|
||||||
|
|||||||
Reference in New Issue
Block a user