mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-11-23 04:12:28 +00:00
Speed up build
use all processors and fix lint issue
This commit is contained in:
parent
ee4dd3b857
commit
193c3f4765
1 changed files with 9 additions and 1 deletions
|
@ -30,7 +30,9 @@ android {
|
|||
abiFilters 'arm64-v8a'
|
||||
}
|
||||
ndkBuild {
|
||||
abiFilters 'arm64-v8a'
|
||||
def numProcs = Runtime.runtime.availableProcessors()
|
||||
arguments "V=0", "-j$numProcs", "-C$project.buildDir.parent", "APP_PLATFORM=android-29", "NDK_TOOLCHAIN_VERSION=clang", "APP_STL=c++_static"
|
||||
abiFilters 'arm64-v8a'
|
||||
}
|
||||
}
|
||||
minSdkVersion 26
|
||||
|
@ -52,6 +54,12 @@ android {
|
|||
assets.srcDirs = ['../../assets']
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
disable 'ExpiredTargetSdkVersion'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
|
|
Loading…
Reference in a new issue