Skip to content
Snippets Groups Projects
Verified Commit 682bee14 authored by Torsten Grote's avatar Torsten Grote
Browse files

Switch to our own CI image

parent f31219d5
No related branches found
No related tags found
No related merge requests found
image: registry.gitlab.com/fdroid/ci-images-base:latest
image: briar/ci-image-android:latest
cache:
paths:
- .gradle/wrapper
- .gradle/caches
test:
before_script:
- set -e
- export GRADLE_USER_HOME=$PWD/.gradle
before_script:
- set -e
- export GRADLE_USER_HOME=$PWD/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
test:
script:
- ./gradlew --no-daemon animalSnifferMain animalSnifferTest
- ./gradlew --no-daemon test
......@@ -19,12 +19,13 @@ test:
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
test_reproducible:
image: briar/reproducer:latest
script:
- cd .. && mv briar /opt/briar-reproducer/
- cd /opt/briar-reproducer
- ./reproduce.py ${CI_COMMIT_REF_NAME}
only:
- tags
......@@ -256,11 +256,13 @@ android {
resValue "string", "app_name", "Briar Debug"
shrinkResources false
minifyEnabled true
crunchPngs false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
release {
shrinkResources true
minifyEnabled true
crunchPngs false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
......@@ -276,10 +278,6 @@ android {
}
}
aaptOptions {
cruncherEnabled = false
}
lintOptions {
warning 'MissingTranslation'
warning 'ImpliedQuantity'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment