Bump version

This commit is contained in:
世界 2021-03-16 21:10:33 +08:00
parent 6798c1a2c2
commit b053ce66d8
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@ import cn.hutool.core.util.RuntimeUtil
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
def verName = "7.5.0-rc11" def verName = "7.5.0-rc12"
def verCode = 200 + 3 * 10 def verCode = 200 + 3 * 11
if (System.getenv("DEBUG_BUILD") == "true") { if (System.getenv("DEBUG_BUILD") == "true") {
verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1)") verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1)")
@ -125,7 +125,7 @@ android {
externalNativeBuild { externalNativeBuild {
cmake { cmake {
version '3.10.2' version '3.10.2'
arguments '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-16', "-j=16" arguments '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-16', "-j=${Runtime.getRuntime().availableProcessors()}"
} }
} }

View File

@ -42,7 +42,7 @@ android {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
} }
arguments "NDK_APPLICATION_MK:=src/main/jni/Application.mk", "APP_PLATFORM:=android-21", "--jobs=8" arguments "NDK_APPLICATION_MK:=src/main/jni/Application.mk", "APP_PLATFORM:=android-21", "--jobs=${Runtime.getRuntime().availableProcessors()}"
} }
} }
} }