rewrite all yaml metadata for list-style scripts

This commit is contained in:
Michael Pöhn 2018-12-06 01:28:56 +01:00
parent ddc249cb39
commit 12ef7dc5b3
18 changed files with 179 additions and 130 deletions

View file

@ -68,8 +68,9 @@ Builds:
- foss - foss
srclibs: srclibs:
- rocketchatsdk@app-2.6.0 - rocketchatsdk@app-2.6.0
prebuild: |- prebuild:
sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle && sed -i -e 's,./gradlew,gradle,g' build-sdk.sh - sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle
- sed -i -e 's,./gradlew,gradle,g' build-sdk.sh
gradleprops: gradleprops:
- sdk_location=../../srclib/rocketchatsdk - sdk_location=../../srclib/rocketchatsdk
@ -81,8 +82,9 @@ Builds:
- foss - foss
srclibs: srclibs:
- rocketchatsdk@2eab588c27f7d5c48796f681f3b17f01fdb59967 - rocketchatsdk@2eab588c27f7d5c48796f681f3b17f01fdb59967
prebuild: |- prebuild:
sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle && sed -i -e 's,./gradlew,gradle,g' build-sdk.sh - sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle
- sed -i -e 's,./gradlew,gradle,g' build-sdk.sh
gradleprops: gradleprops:
- sdk_location=../../srclib/rocketchatsdk - sdk_location=../../srclib/rocketchatsdk
@ -94,8 +96,9 @@ Builds:
- foss - foss
srclibs: srclibs:
- rocketchatsdk@app-3.0.0 - rocketchatsdk@app-3.0.0
prebuild: |- prebuild:
sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle && sed -i -e 's,./gradlew,gradle,g' build-sdk.sh - sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle
- sed -i -e 's,./gradlew,gradle,g' build-sdk.sh
gradleprops: gradleprops:
- sdk_location=../../srclib/rocketchatsdk - sdk_location=../../srclib/rocketchatsdk
@ -107,8 +110,9 @@ Builds:
- foss - foss
srclibs: srclibs:
- rocketchatsdk@app-3.1.0 - rocketchatsdk@app-3.1.0
prebuild: |- prebuild:
sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle && sed -i -e 's,./gradlew,gradle,g' build-sdk.sh - sed -i -e '/fabric/d' -e '/crashlytics/,+3d' ../build.gradle build.gradle
- sed -i -e 's,./gradlew,gradle,g' build-sdk.sh
gradleprops: gradleprops:
- sdk_location=../../srclib/rocketchatsdk - sdk_location=../../srclib/rocketchatsdk

View file

@ -19,8 +19,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.9.3 - versionName: 1.9.3
versionCode: 37 versionCode: 37
@ -29,8 +28,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.9.4 - versionName: 1.9.4
versionCode: 38 versionCode: 38
@ -39,8 +37,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.10.0 - versionName: 1.10.0
versionCode: 39 versionCode: 39
@ -49,8 +46,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 1.11.0 - versionName: 1.11.0
versionCode: 40 versionCode: 40
@ -59,8 +56,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -22,8 +22,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 4.0.3 - versionName: 4.0.3
versionCode: 145 versionCode: 145
@ -32,8 +32,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 4.0.4 - versionName: 4.0.4
versionCode: 146 versionCode: 146
@ -42,8 +42,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 4.0.5 - versionName: 4.0.5
versionCode: 147 versionCode: 147
@ -52,8 +52,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 4.1.0 - versionName: 4.1.0
versionCode: 148 versionCode: 148
@ -62,8 +62,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 4.1.1 - versionName: 4.1.1
versionCode: 149 versionCode: 149
@ -72,8 +72,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -22,8 +22,9 @@ Builds:
- foss - foss
srclibs: srclibs:
- CommonUtils@a89ffaebd726b747d0cfcb4c67b66b5abfc5a9a2 - CommonUtils@a89ffaebd726b747d0cfcb4c67b66b5abfc5a9a2
prebuild: |- prebuild:
sed -i -e '/maven.fabric.io/d' ../build.gradle && sed -i -e 's#../CommonUtils#app/$$CommonUtils$$#' ../settings.gradle - sed -i -e '/maven.fabric.io/d' ../build.gradle
- sed -i -e 's#../CommonUtils#app/$$CommonUtils$$#' ../settings.gradle
- versionName: 1.1.3 - versionName: 1.1.3
versionCode: 10 versionCode: 10
@ -32,8 +33,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.2.0 - versionName: 1.2.0
versionCode: 11 versionCode: 11
@ -42,8 +42,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.2.3 - versionName: 1.2.3
versionCode: 13 versionCode: 13
@ -52,8 +51,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.2.5 - versionName: 1.2.5
versionCode: 15 versionCode: 15
@ -62,8 +60,7 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
sed -i -e '/maven.fabric.io/d' ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.3.1 - versionName: 1.3.1
versionCode: 17 versionCode: 17
@ -72,8 +69,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle ../CommonUtils/build.gradle build.gradle ../CommonUtils/build.gradle build.gradle
- versionName: 1.3.2 - versionName: 1.3.2
versionCode: 18 versionCode: 18
@ -82,8 +79,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle ../CommonUtils/build.gradle build.gradle ../CommonUtils/build.gradle build.gradle
- versionName: 1.3.3 - versionName: 1.3.3
versionCode: 19 versionCode: 19
@ -92,8 +89,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle ../CommonUtils/build.gradle build.gradle ../CommonUtils/build.gradle build.gradle
- versionName: 1.4.0 - versionName: 1.4.0
versionCode: 20 versionCode: 20
@ -102,8 +99,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle ../CommonUtils/build.gradle build.gradle ../CommonUtils/build.gradle build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -20,8 +20,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.6.10 - versionName: 2.6.10
versionCode: 63 versionCode: 63
@ -30,8 +30,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.6.10.1 - versionName: 2.6.10.1
versionCode: 64 versionCode: 64
@ -40,8 +40,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.6.11 - versionName: 2.6.11
versionCode: 65 versionCode: 65
@ -50,8 +50,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.7.0 - versionName: 2.7.0
versionCode: 67 versionCode: 67
@ -60,8 +60,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.8.0-beta1 - versionName: 2.8.0-beta1
versionCode: 68 versionCode: 68
@ -70,8 +70,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.8.0 - versionName: 2.8.0
versionCode: 69 versionCode: 69
@ -80,8 +80,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.8.1 - versionName: 2.8.1
versionCode: 70 versionCode: 70
@ -90,8 +90,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.8.2 - versionName: 2.8.2
versionCode: 71 versionCode: 71
@ -100,8 +100,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
- versionName: 2.8.3 - versionName: 2.8.3
versionCode: 72 versionCode: 72
@ -110,8 +110,8 @@ Builds:
submodules: true submodules: true
gradle: gradle:
- foss - foss
prebuild: |- prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle ../CommonUtils/build.gradle ../CommonUtils/build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -37,10 +37,25 @@ Builds:
srclibs: srclibs:
- mini-matrixsdk@v0.9.9-no-webrtc - mini-matrixsdk@v0.9.9-no-webrtc
- olmsdk@2.3.0 - olmsdk@2.3.0
prebuild: |- prebuild:
sed -i -e '/com.google.firebase/d' build.gradle && sed -i -e '/com.google.gms.google-services/d' build.gradle && mkdir -p libs - sed -i -e '/com.google.firebase/d' build.gradle
build: |- - sed -i -e '/com.google.gms.google-services/d' build.gradle
pushd $$olmsdk$$/android && echo ndk.dir=$$NDK$$ > local.properties && gradle assembleRelease && popd && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar libs/olm-sdk.aar && mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar $$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar && pushd $$mini-matrixsdk$$ && gradle clean assembleRelease && popd && cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar - mkdir -p libs
build:
- pushd $$olmsdk$$/android
- echo ndk.dir=$$NDK$$ > local.properties
- gradle assembleRelease
- popd
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
libs/olm-sdk.aar
- mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
$$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar
- pushd $$mini-matrixsdk$$
- gradle clean assembleRelease
- popd
- cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar
libs/matrix-sdk.aar
ndk: r17b ndk: r17b
- versionName: 0.8.17 - versionName: 0.8.17
@ -52,10 +67,25 @@ Builds:
srclibs: srclibs:
- mini-matrixsdk@v0.9.11-no-webrtc - mini-matrixsdk@v0.9.11-no-webrtc
- olmsdk@2.3.0 - olmsdk@2.3.0
prebuild: |- prebuild:
sed -i -e '/com.google.firebase/d' build.gradle && sed -i -e '/com.google.gms.google-services/d' build.gradle && mkdir -p libs - sed -i -e '/com.google.firebase/d' build.gradle
build: |- - sed -i -e '/com.google.gms.google-services/d' build.gradle
pushd $$olmsdk$$/android && echo ndk.dir=$$NDK$$ > local.properties && gradle assembleRelease && popd && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar libs/olm-sdk.aar && mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar $$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar && pushd $$mini-matrixsdk$$ && gradle clean assembleRelease && popd && cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar - mkdir -p libs
build:
- pushd $$olmsdk$$/android
- echo ndk.dir=$$NDK$$ > local.properties
- gradle assembleRelease
- popd
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
libs/olm-sdk.aar
- mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
$$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar
- pushd $$mini-matrixsdk$$
- gradle clean assembleRelease
- popd
- cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar
libs/matrix-sdk.aar
ndk: r17b ndk: r17b
- versionName: 0.8.18 - versionName: 0.8.18
@ -67,10 +97,25 @@ Builds:
srclibs: srclibs:
- mini-matrixsdk@v0.9.12-no-webrtc - mini-matrixsdk@v0.9.12-no-webrtc
- olmsdk@2.3.0 - olmsdk@2.3.0
prebuild: |- prebuild:
sed -i -e '/com.google.firebase/d' build.gradle && sed -i -e '/com.google.gms.google-services/d' build.gradle && mkdir -p libs - sed -i -e '/com.google.firebase/d' build.gradle
build: |- - sed -i -e '/com.google.gms.google-services/d' build.gradle
pushd $$olmsdk$$/android && echo ndk.dir=$$NDK$$ > local.properties && gradle assembleRelease && popd && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar libs/olm-sdk.aar && mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs && cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar $$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar && pushd $$mini-matrixsdk$$ && gradle clean assembleRelease && popd && cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar libs/matrix-sdk.aar - mkdir -p libs
build:
- pushd $$olmsdk$$/android
- echo ndk.dir=$$NDK$$ > local.properties
- gradle assembleRelease
- popd
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
libs/olm-sdk.aar
- mkdir -p $$mini-matrixsdk$$/matrix-sdk/libs
- cp $$olmsdk$$/android/olm-sdk/build/outputs/aar/olm-sdk-release-2.3.0.aar
$$mini-matrixsdk$$/matrix-sdk/libs/olm-sdk.aar
- pushd $$mini-matrixsdk$$
- gradle clean assembleRelease
- popd
- cp $$mini-matrixsdk$$/matrix-sdk/build/outputs/aar/matrix-sdk-release-*.aar
libs/matrix-sdk.aar
ndk: r17b ndk: r17b
AutoUpdateMode: None AutoUpdateMode: None

View file

@ -78,26 +78,30 @@ Builds:
versionCode: 102715 versionCode: 102715
commit: d629dea78fe38fa977593ae21a737de231f935a8 commit: d629dea78fe38fa977593ae21a737de231f935a8
subdir: android/app/ subdir: android/app/
sudo: |- sudo:
curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz && \ - curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz
echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz" | sha256sum -c - && \ - echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz"
tar xJf node.tar.xz && \ | sha256sum -c -
cp -a node-v8.11.1-linux-x64/. /usr/local/ && \ - tar xJf node.tar.xz
npm -g install yarn - cp -a node-v8.11.1-linux-x64/. /usr/local/
- npm -g install yarn
init: yarn install init: yarn install
gradle: gradle:
- production - production
rm: rm:
- node_modules/react-native-notifications/android/src/main/java/com/wix/reactnativenotifications/gcm/ - node_modules/react-native-notifications/android/src/main/java/com/wix/reactnativenotifications/gcm/
- node_modules/react-native-device-info/android/build/ - node_modules/react-native-device-info/android/build/
prebuild: |- prebuild:
echo -e "GRAPHQL_URL=https://api.democracy-app.de/\nPHONE_NUMBER=+4917647040213\nGITHUB_URL=https://github.com/demokratie-live/democracy-client\nCONTACT_EMAIL=prototyping@democracy-deutschland.de" >> ../../.env.production && \ - echo -e "GRAPHQL_URL=https://api.democracy-app.de/\nPHONE_NUMBER=+4917647040213\nGITHUB_URL=https://github.com/demokratie-live/democracy-client\nCONTACT_EMAIL=prototyping@democracy-deutschland.de"
sed -i -e 's#../package.json#../../package.json#' ../build.gradle && \ >> ../../.env.production
sed -i -e '/play-services-gcm/,+2d' -e 's/getVersionCode()/$$VERCODE$$/' build.gradle && \ - sed -i -e 's#../package.json#../../package.json#' ../build.gradle
sed -i -e '/play-services/d' ../../node_modules/react-native-device-info/android/build.gradle ../../node_modules/react-native-notifications/android/build.gradle && \ - sed -i -e '/play-services-gcm/,+2d' -e 's/getVersionCode()/$$VERCODE$$/' build.gradle
sed -i -e '/hasPermission/d' -e '/tokenFetchIntent/d' -e '/GcmInstance/d' ../../node_modules/react-native-notifications/android/src/main/java/com/wix/reactnativenotifications/RNNotificationsModule.java && \ - sed -i -e '/play-services/d' ../../node_modules/react-native-device-info/android/build.gradle
sed -i -e '/com.google.android.gms.iid.InstanceID.getInstance/d' ../../node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java && \ ../../node_modules/react-native-notifications/android/build.gradle
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel - sed -i -e '/hasPermission/d' -e '/tokenFetchIntent/d' -e '/GcmInstance/d'
../../node_modules/react-native-notifications/android/src/main/java/com/wix/reactnativenotifications/RNNotificationsModule.java
- sed -i -e '/com.google.android.gms.iid.InstanceID.getInstance/d' ../../node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java
- truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel
scanignore: scanignore:
- android/build.gradle - android/build.gradle
- node_modules/react-native-navigation/android/build.gradle - node_modules/react-native-navigation/android/build.gradle

View file

@ -28,8 +28,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/\"generate_/\"\.\.\/generate_/g' build.gradle
sed -i -e 's/\"generate_/\"\.\.\/generate_/g' build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -59,8 +59,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/generate_type3/\.\.\/generate_type3/' build.gradle
sed -i -e 's/generate_type3/\.\.\/generate_type3/' build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -48,24 +48,24 @@ Builds:
commit: 2.3.6 commit: 2.3.6
gradle: gradle:
- quicksyFreeCompat - quicksyFreeCompat
prebuild: |- prebuild: sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\
sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\ \ \ \ \ \ \ \ abortOnError\ false' build.gradle \ \ \ \ \ \ \ abortOnError\ false' build.gradle
- versionName: 2.3.7+fcr - versionName: 2.3.7+fcr
versionCode: 303 versionCode: 303
commit: 2.3.7 commit: 2.3.7
gradle: gradle:
- quicksyFreeCompat - quicksyFreeCompat
prebuild: |- prebuild: sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\
sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\ \ \ \ \ \ \ \ abortOnError\ false' build.gradle \ \ \ \ \ \ \ abortOnError\ false' build.gradle
- versionName: 2.3.8+fcr - versionName: 2.3.8+fcr
versionCode: 305 versionCode: 305
commit: 2.3.8 commit: 2.3.8
gradle: gradle:
- quicksyFreeCompat - quicksyFreeCompat
prebuild: |- prebuild: sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\
sed -i -e 's/targetSdkVersion 28/targetSdkVersion 25/' -e '/ExtraTranslation/a\ \ \ \ \ \ \ \ abortOnError\ false' build.gradle \ \ \ \ \ \ \ abortOnError\ false' build.gradle
AutoUpdateMode: Version %v+fcr AutoUpdateMode: Version %v+fcr
UpdateCheckMode: Tags ^[0-9.]+$ UpdateCheckMode: Tags ^[0-9.]+$

View file

@ -32,8 +32,7 @@ Builds:
subdir: Android/app/ subdir: Android/app/
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e '/repo.commonsware.com.s3.amazonaws.com/d' build.gradle
sed -i -e '/repo.commonsware.com.s3.amazonaws.com/d' build.gradle
AutoUpdateMode: Version %v AutoUpdateMode: Version %v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -54,8 +54,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's|\"..\/..\/..\/\$ndkVersion\"|\"$$NDK$$\"|' build.gradle
sed -i -e 's|\"..\/..\/..\/\$ndkVersion\"|\"$$NDK$$\"|' build.gradle
scanignore: scanignore:
- app/src/main/res/raw/* - app/src/main/res/raw/*
ndk: r18b ndk: r18b

View file

@ -33,8 +33,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e "21 ilintOptions{disable 'MissingTranslation'}" build.gradle
sed -i -e "21 ilintOptions{disable 'MissingTranslation'}" build.gradle
AutoUpdateMode: Version %v AutoUpdateMode: Version %v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -42,8 +42,11 @@ Builds:
- tesseract-android-tools-test - tesseract-android-tools-test
- ImageViewer - ImageViewer
- TessUI/libs/microsoft-translator-java-api-0.6.2-jar-with-dependencies.jar - TessUI/libs/microsoft-translator-java-api-0.6.2-jar-with-dependencies.jar
prebuild: |- prebuild:
pushd $$BingTranslator$$ && $$MVN3$$ -Dmaven.test.skip=true package && popd && cp $$BingTranslator$$/target/microsoft-translator-java-api-0.6.2.jar libs/ - pushd $$BingTranslator$$
- $$MVN3$$ -Dmaven.test.skip=true package
- popd
- cp $$BingTranslator$$/target/microsoft-translator-java-api-0.6.2.jar libs/
scandelete: scandelete:
- tesseract-android-tools - tesseract-android-tools
buildjni: buildjni:

View file

@ -23,16 +23,26 @@ Builds:
versionCode: 54000 versionCode: 54000
commit: c85f503f5793839a6be4c818332aca4a96927bb2 commit: c85f503f5793839a6be4c818332aca4a96927bb2
subdir: android/xscreensaver subdir: android/xscreensaver
sudo: |- sudo:
apt-get update || apt-get update && apt-get install -y bc libx11-dev intltool - apt-get update || apt-get update
- apt-get install -y bc libx11-dev intltool
gradle: gradle:
- yes - yes
prebuild: |- prebuild:
pushd ../.. && pwd && ./configure && popd && cd .. && make run_check && sed -i -e 's,./gradlew,gradle,' Makefile && sed -i -e '/jcenter()/i google()' build.gradle - pushd ../..
- pwd
- ./configure
- popd
- cd ..
- make run_check
- sed -i -e 's,./gradlew,gradle,' Makefile
- sed -i -e '/jcenter()/i google()' build.gradle
scandelete: scandelete:
- OSX - OSX
build: |- build:
cd .. && make all && sed -i -e '/preBuild/d' xscreensaver/build.gradle - cd ..
- make all
- sed -i -e '/preBuild/d' xscreensaver/build.gradle
MaintainerNotes: | MaintainerNotes: |
`make all` already does the gradle build. Running gradle standalone doesn't work as is afterwards beause of undefined env variables. `make all` already does the gradle build. Running gradle standalone doesn't work as is afterwards beause of undefined env variables.

View file

@ -27,8 +27,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/4.10/4.9/' ../gradle/wrapper/gradle-wrapper.properties
sed -i -e 's/4.10/4.9/' ../gradle/wrapper/gradle-wrapper.properties
- versionName: 1.2.3 - versionName: 1.2.3
versionCode: 6 versionCode: 6
@ -36,8 +35,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/4.10/4.9/' ../gradle/wrapper/gradle-wrapper.properties
sed -i -e 's/4.10/4.9/' ../gradle/wrapper/gradle-wrapper.properties
- versionName: '1.3' - versionName: '1.3'
versionCode: 7 versionCode: 7

View file

@ -38,8 +38,7 @@ Builds:
gradle: gradle:
- yes - yes
output: build/outputs/apk/fdroid/release/app-fdroid-release-unsigned.apk output: build/outputs/apk/fdroid/release/app-fdroid-release-unsigned.apk
prebuild: |- prebuild: sed -i -e 's/4\.10\-rc\-2/4\.9/' ../gradle/wrapper/gradle-wrapper.properties
sed -i -e 's/4\.10\-rc\-2/4\.9/' ../gradle/wrapper/gradle-wrapper.properties
- versionName: 1.1.0 - versionName: 1.1.0
versionCode: 6 versionCode: 6
@ -47,8 +46,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/5\.0/4\.10\.2/' ../gradle/wrapper/gradle-wrapper.properties
sed -i -e 's/5\.0/4\.10\.2/' ../gradle/wrapper/gradle-wrapper.properties
AutoUpdateMode: Version %v AutoUpdateMode: Version %v
UpdateCheckMode: Tags UpdateCheckMode: Tags

View file

@ -20,8 +20,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/gradle:3.3.0-alpha12/gradle:3.2.1/' ../build.gradle
sed -i -e 's/gradle:3.3.0-alpha12/gradle:3.2.1/' ../build.gradle
- versionName: 1.0.0 - versionName: 1.0.0
versionCode: 14 versionCode: 14
@ -29,8 +28,7 @@ Builds:
subdir: app subdir: app
gradle: gradle:
- yes - yes
prebuild: |- prebuild: sed -i -e 's/gradle:3.3.0-alpha12/gradle:3.2.1/' ../build.gradle
sed -i -e 's/gradle:3.3.0-alpha12/gradle:3.2.1/' ../build.gradle
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags