Commit cd618ca4 authored by kenan's avatar kenan

build.gradle

parent f40255df
......@@ -13,9 +13,9 @@ buildscript {
}
ext {
compileSdkVersion = 29
compileSdkVersion = 30
//buildToolsVersion = compileSdkVersion+".0.0"
supportVersion = "27.1.0"
supportVersion = "30.0.0"
}
allprojects {
......
......@@ -5,7 +5,8 @@ android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 26
flavorDimensions "versionCode"
/* ndk {
moduleName "YGOMobile"
......
APP_ABI := armeabi-v7a x86
#APP_ABI := arm64-v8a
APP_PLATFORM := android-21
#APP_MODULES := YGOMobile
#NDK_TOOLCHAIN_VERSION=4.8
......@@ -7,3 +9,5 @@ APP_ALLOW_MISSING_DEPS=true
APP_STL := c++_static
APP_CPPFLAGS := -Wno-error=format-security -std=gnu++14 -fpermissive -D__cplusplus=201402L
APP_OPTIM := release
# 防止路径过长
APP_SHORT_COMMANDS := true
......@@ -6,11 +6,11 @@ android {
defaultConfig {
minSdkVersion 21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 28
targetSdkVersion 26
ndk {
moduleName "YGOMobile"
abiFilters "armeabi-v7a","x86"
abiFilters "armeabi-v7a","x86","arm64-v8a"
}
}
......
......@@ -7,14 +7,12 @@ android {
defaultConfig {
applicationId "cn.garymb.ygomobile"
minSdkVersion 21
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
versionCode 380300525
versionName "3.8.3"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
......@@ -33,6 +31,14 @@ android {
manifestPlaceholders = [APP_ID: "0488398d8a"]
}
}
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a', 'arm64-v8a'
universalApk true
}
}
buildTypes {
release {
shrinkResources false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment