1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

Bump version

This commit is contained in:
世界 2021-01-17 12:52:39 +08:00
parent 8db05db67d
commit 2a8075e38d
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
6 changed files with 45 additions and 6 deletions

View File

@ -1,8 +1,8 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
def verName = "7.3.1-rc15"
def verCode = 160
def verName = "7.3.1-rc16"
def verCode = 162
def serviceAccountCredentialsFile = rootProject.file("service_account_credentials.json")
@ -52,20 +52,20 @@ repositories {
dependencies {
implementation "androidx.browser:browser:1.3.0"
implementation 'androidx.core:core-ktx:1.5.0-alpha05'
implementation 'androidx.core:core-ktx:1.5.0-beta01'
implementation 'androidx.palette:palette-ktx:1.0.0'
implementation 'androidx.viewpager:viewpager:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.2'
implementation "androidx.interpolator:interpolator:1.0.0"
implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation "androidx.sharetarget:sharetarget:1.0.0"
implementation 'androidx.sharetarget:sharetarget:1.1.0'
// replace zxing with latest
// TODO: fix problem with android L
implementation 'com.google.zxing:core:3.4.1'
compileOnly 'org.checkerframework:checker-qual:3.9.0'
compileOnly 'org.checkerframework:checker-qual:3.9.1'
compileOnly 'org.checkerframework:checker-compat-qual:2.5.5'
// don't change this :)

5
bin/app/alaha.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
source bin/app/build.sh
upload full/release
upload full/releaseNoGcm

23
bin/app/build.sh Normal file
View File

@ -0,0 +1,23 @@
#!/bin/bash
trap 'kill $(jobs -p)' SIGINT
function upload() {
for apk in TMessagesProj/build/outputs/apk/$1/*.apk; do
echo ">> Uploading $apk"
curl https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendDocument \
-X POST \
-F chat_id="$TELEGRAM_CHANNEL" \
-F document="@$apk" \
--silent --show-error --fail >/dev/null &
done
for job in $(jobs -p); do
wait $job || exit 1
done
}

4
bin/app/debug.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
source bin/app/build.sh
upload full/release

View File

@ -10,4 +10,4 @@ function flavor() {
flavor Full
flavor FullAppleEmoji
flavor Mini
flavor MiniAppletEmoji
flavor MiniAppleEmoji

7
bin/app/upload.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
source bin/app/build.sh
upload full/release
upload full/releaseNoGcm
upload mini/release
upload mini/releaseNoGcm