apply plugin: 'com.android.application' apply from: 'setupSymbols.gradle' apply from: '../shared/keepUnitySymbols.gradle' dependencies { implementation project(':unityLibrary') } android { namespace "com.gcmsmart.hxerpqr" ndkPath "D:/6000.0.9f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" ndkVersion "23.1.7779620" compileSdk 34 buildToolsVersion = "34.0.0" compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } defaultConfig { applicationId "com.gcmsmart.hxerpqr" versionName "1.0" minSdk 23 targetSdk 34 versionCode 2 ndk { abiFilters "armeabi-v7a", "arm64-v8a" debugSymbolLevel "full" } } 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 } } signingConfigs { release { storeFile file('D:/HX-PGS-ERP-QRCODE/user.keystore') storePassword '123456' keyAlias '123456' keyPassword '123456' } } buildTypes { debug { minifyEnabled = false proguardFiles getDefaultProguardFile('proguard-android.txt') jniDebuggable = true signingConfig signingConfigs.release } release { minifyEnabled = false proguardFiles getDefaultProguardFile('proguard-android.txt') signingConfig signingConfigs.release } } androidComponents { onVariants(selector().all(), { variant -> variant.bundleConfig.addMetadataFile( "com.unity", project.layout.file(project.providers.provider { new File("dependencies.pb") }) ) variant.bundleConfig.addMetadataFile( "com.unity", project.layout.file(project.providers.provider { new File("app-metadata.properties") }) ) }) } bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } texture { enableSplit = true } } } apply from: '..\\unityLibrary\\GoogleMobileAdsPlugin.androidlib\\packaging_options.gradle'