easy gitlab-ci with fdroid nightly support

Update .gitlab-ci
1 job for patch-1 in 2 minutes and 5 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
failed #3271
build

00:02:05

 
Name Stage Failure
failed
build Build
Successfully extracted cache
$ export GRADLE_USER_HOME=$PWD/.gradle
$ export ANDROID_COMPILE_SDK=`sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle`
$ echo y | sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" > /dev/null
Warning: Failed to find package platforms;android-
Running after script...
$ rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
$ rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
ERROR: Job failed: exit code 1