Commit 3474af25 authored by Licaon_Kter's avatar Licaon_Kter

Reverse proxy hack as fixed in the server

parent 275c512d
......@@ -52,7 +52,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -246,7 +246,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.7.8
versionCode: 64
......@@ -254,7 +253,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.7.10
versionCode: 66
......@@ -262,7 +260,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.7.11
versionCode: 67
......@@ -270,7 +267,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9.]+$
......
......@@ -29,10 +29,8 @@ Builds:
output: build/app/outputs/apk/release/app-release.apk
srclibs:
- [email protected]
prebuild:
- echo 'android.applicationVariants.all { variant -> variant.outputs.all { output
-> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: echo 'android.applicationVariants.all { variant -> variant.outputs.all
{ output -> outputFileName = "app-${output.baseName}.apk" } }' >> android/app/build.gradle
build:
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter packages pub get
......
......@@ -22,7 +22,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 0.0.4
versionCode: 4
......@@ -30,7 +29,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.0.1
versionCode: 6
......@@ -38,7 +36,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.1.0
versionCode: 8
......@@ -46,7 +43,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ArchivePolicy: 0 versions
AutoUpdateMode: None
......
......@@ -407,7 +407,6 @@ Builds:
- general
rm:
- app/libs
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r21
- versionName: 2.5.10
......@@ -418,7 +417,6 @@ Builds:
- general
rm:
- app/libs
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r21b
AutoUpdateMode: Version v%v
......
......@@ -43,7 +43,6 @@ Builds:
- sed -i -e '/maven {/,+3d' ../../node_modules/react-native-share/android/build.gradle
- sed -i -e '/maven {/,+3d' ../../node_modules/realm/android/build.gradle
- truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scanignore:
- android/build.gradle
scandelete:
......
......@@ -555,7 +555,6 @@ Builds:
gradle:
- yes
output: app/build/outputs/apk/release/duckduckgo-$$VERSION$$-release-unsigned.apk
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: 5.48.0
......@@ -565,7 +564,6 @@ Builds:
gradle:
- yes
output: app/build/outputs/apk/release/duckduckgo-$$VERSION$$-release-unsigned.apk
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: 5.49.1
......
......@@ -190,7 +190,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.9.2
versionCode: 138
......@@ -198,7 +197,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.9.4
versionCode: 140
......@@ -206,7 +204,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.9.5
versionCode: 141
......@@ -214,7 +211,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.9.6
versionCode: 142
......@@ -222,7 +218,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -268,10 +268,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......@@ -284,10 +282,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......
......@@ -508,10 +508,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......@@ -524,10 +522,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......@@ -540,10 +536,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......@@ -556,10 +550,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21
......@@ -572,10 +564,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d' -e '/io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scandelete:
- aria2lib/src/main/jniLibs
ndk: r21b
......
......@@ -183,10 +183,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
../CommonUtils/build.gradle build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.6.4
versionCode: 30
......@@ -196,10 +194,8 @@ Builds:
submodules: true
gradle:
- foss
prebuild:
- sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
prebuild: sed -i -e '/maven.fabric.io/d; /io.fabric/d; /com.crashlytics/d' ../build.gradle
../CommonUtils/build.gradle build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.6.5
versionCode: 31
......@@ -213,7 +209,6 @@ Builds:
build.gradle
- sed -i -e '/maven.fabric.io/d; /io.fabric/d' build.gradle ../build.gradle
../CommonUtils/build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -363,7 +363,6 @@ Builds:
- yes
rm:
- project/gradle
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 4.2.4
versionCode: 148
......@@ -373,7 +372,6 @@ Builds:
- yes
rm:
- project/gradle
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 4.2.5
versionCode: 149
......@@ -383,7 +381,6 @@ Builds:
- yes
rm:
- project/gradle
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 4.2.6
versionCode: 150
......@@ -393,7 +390,6 @@ Builds:
- yes
rm:
- project/gradle
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 4.2.7
versionCode: 151
......@@ -403,7 +399,6 @@ Builds:
- yes
rm:
- project/gradle
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -125,7 +125,6 @@ Builds:
subdir: app
gradle:
- libre
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: 2.5beta30
......@@ -134,7 +133,6 @@ Builds:
subdir: app
gradle:
- libre
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: 2.5RC1
......@@ -143,7 +141,6 @@ Builds:
subdir: app
gradle:
- libre
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: 2.5RC2
......@@ -152,7 +149,6 @@ Builds:
subdir: app
gradle:
- libre
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
- versionName: '2.5'
......@@ -161,7 +157,6 @@ Builds:
subdir: app
gradle:
- libre
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
ndk: r20b
AutoUpdateMode: Version %v
......
......@@ -97,7 +97,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
......
......@@ -80,7 +80,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.3.3
versionCode: 12
......@@ -88,7 +87,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version v.%v
UpdateCheckMode: Tags
......
......@@ -82,7 +82,6 @@ Builds:
prebuild:
- sed -i -e 's#https://maven.fabric.io/public#https://maven.google.com/#' ../../node_modules/react-native-webview/android/build.gradle
- truncate -s 0 ../../node_modules/react-native/node_modules/@react-native-community/cli/build/commands/server/external/xsel
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
scanignore:
- android/build.gradle
- node_modules/react-native-webview/android/build.gradle
......
......@@ -19,7 +19,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.4.1
versionCode: 13
......@@ -27,7 +26,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.5.0
versionCode: 14
......@@ -35,7 +33,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.6.0
versionCode: 15
......@@ -43,7 +40,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 1.7.0
versionCode: 16
......@@ -51,7 +47,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -59,7 +59,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 2.3.9
versionCode: 29
......@@ -67,7 +66,6 @@ Builds:
subdir: app
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -185,9 +185,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 5.1.2
versionCode: 24
......@@ -195,9 +193,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -167,9 +167,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 5.1.3
versionCode: 33
......@@ -177,9 +175,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -289,9 +289,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 6.9.1
versionCode: 174
......@@ -299,9 +297,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 6.9.2
versionCode: 175
......@@ -309,9 +305,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 6.9.3
versionCode: 176
......@@ -319,9 +313,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -126,9 +126,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -176,9 +176,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 6.9.0
versionCode: 60
......@@ -186,9 +184,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- versionName: 6.10.2
versionCode: 63
......@@ -196,9 +192,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -91,9 +91,7 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
- sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
prebuild: sed -i -e '/keystore.*{/,/}/d; /keystore/d' build.gradle
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
......
......@@ -189,7 +189,6 @@ Builds:
- build.patch
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 6.6.0
versionCode: 88
......@@ -199,7 +198,6 @@ Builds:
- build.patch
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gradle/gradle.properties
- versionName: 6.6.1
versionCode: 89
......@@ -209,7 +207,6 @@ Builds:
- build.patch
gradle:
- yes
prebuild: sed -i '/systemProp\.http\.proxy/d' ~/.gr