81 lines
1.8 KiB
Groovy
81 lines
1.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply from: 'setupSymbols.gradle'
|
|
apply from: '../shared/keepUnitySymbols.gradle'
|
|
|
|
dependencies {
|
|
implementation project(':unityLibrary')
|
|
}
|
|
|
|
android {
|
|
namespace "com.ProjectTA.Zimath"
|
|
ndkPath "C:/Program Files/Unity/Hub/Editor/6000.0.49f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK"
|
|
ndkVersion "27.2.12479018"
|
|
compileSdk 35
|
|
buildToolsVersion = "34.0.0"
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.ProjectTA.Zimath"
|
|
versionName "1.0"
|
|
minSdk 26
|
|
targetSdk 35
|
|
versionCode 1
|
|
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "arm64-v8a"
|
|
debugSymbolLevel "none"
|
|
}
|
|
}
|
|
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
|
|
androidResources {
|
|
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
|
|
noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
|
|
}
|
|
|
|
packaging {
|
|
jniLibs {
|
|
useLegacyPackaging true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')
|
|
jniDebuggable = true
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
|
|
release {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
bundle {
|
|
language {
|
|
enableSplit = false
|
|
}
|
|
|
|
density {
|
|
enableSplit = false
|
|
}
|
|
|
|
abi {
|
|
enableSplit = true
|
|
}
|
|
|
|
texture {
|
|
enableSplit = true
|
|
}
|
|
}
|
|
} |