update ndk version

This commit is contained in:
世界 2020-05-14 13:19:04 +08:00
parent 49a63de1ac
commit fb7c3630d7
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
4 changed files with 15 additions and 17 deletions

View File

@ -11,6 +11,11 @@ configurations {
compile.exclude module: 'support-v4'
}
def okHttpVersion = '4.6.0'
def fcmVersion = '20.1.7'
def crashlyticsVersion = '17.0.0'
def playCoreVersion = '1.7.2'
buildscript {
repositories {
@ -21,7 +26,7 @@ buildscript {
dependencies {
classpath 'cn.hutool:hutool-all:5.3.3'
classpath "cn.hutool:hutool-all:5.3.5"
}
@ -44,9 +49,8 @@ dependencies {
implementation 'org.osmdroid:osmdroid-android:6.1.6'
implementation 'com.google.zxing:core:3.4.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.6'
def okHttpVersion = '4.6.0'
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
implementation "com.squareup.okhttp3:okhttp-dnsoverhttps:$okHttpVersion"
@ -54,17 +58,13 @@ dependencies {
implementation 'org.dizitart:nitrite:3.4.1'
implementation 'net.lingala.zip4j:zip4j:2.5.2'
implementation 'cn.hutool:hutool-core:5.3.3'
implementation 'cn.hutool:hutool-crypto:5.3.3'
implementation "cn.hutool:hutool-core:5.3.5"
implementation "cn.hutool:hutool-crypto:5.3.5"
implementation 'org.tukaani:xz:1.8'
compileOnly files('libs/libv2ray.aar')
def fcmVersion = '20.1.6'
def crashlyticsVersion = '17.0.0'
def playCoreVersion = '1.7.2'
compileOnly "com.google.firebase:firebase-messaging:$fcmVersion"
compileOnly "com.google.firebase:firebase-crashlytics:$crashlyticsVersion"
compileOnly "com.google.android.play:core:$playCoreVersion"
@ -84,7 +84,7 @@ task writeUpdateInfo {
info.set("version", verName)
info.set("versionCode", verCode)
info.set("defaultFlavor","full")
info.set("defaultFlavor", "full")
info.set("defaultApkName", "NekoX-full-arm64-v8a-release.apk.xz")
FileUtil.writeUtf8String(info.toStringPretty(), new File("build/update.json"))
@ -96,7 +96,7 @@ tasks.findByName("preBuild").finalizedBy(writeUpdateInfo)
android {
compileSdkVersion 29
buildToolsVersion '29.0.3'
ndkVersion "21.0.6113669"
ndkVersion "21.1.6352462"
defaultConfig.applicationId = "nekox.messenger"

View File

@ -1,6 +1,4 @@
#!/usr/bin/env bash
git tag -d "$1"
git tag "$1"
git push origin ":$1"
git push origin "$1"
git tag "$1" -f
git push origin "$1" -f

View File

@ -7,7 +7,7 @@ plugins {
android {
ndkVersion = "21.0.6113669"
ndkVersion = "21.1.6352462"
compileSdkVersion(29)
defaultConfig {

View File

@ -5,7 +5,7 @@ plugins {
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
ndkVersion "21.0.6113669"
ndkVersion "21.1.6352462"
defaultConfig {
minSdkVersion 16