apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' afterEvaluate { generateReleaseBuildConfig.enabled = false generateDebugBuildConfig.enabled =false } dependencies { implementation project(':tuanjieLibrary') } android { namespace "**NAMESPACE**" ndkPath "**NDKPATH**" compileSdkVersion **APIVERSION** buildToolsVersion '**BUILDTOOLS**' compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** applicationId '**APPLICATIONID**' ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' multiDexEnabled true } aaptOptions { noCompress = **BUILTIN_NOCOMPRESS** + tuanjieStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" }**SIGN** lintOptions { abortOnError false } buildTypes { debug { minifyEnabled **MINIFY_DEBUG** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** jniDebuggable true } release { minifyEnabled **MINIFY_RELEASE** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** } }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS** **BUILT_APK_LOCATION** bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } } task copyJsonFile { copy { delete("D:/unityProject/XY001/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/google-services.json") from('D:/unityProject/XY001/Assets/PottingMobileSDK/') into("D:/unityProject/XY001/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/") include("google-services.json") println "Copy google-services.json completed.--->> IL2CPP" } } preBuild.dependsOn copyJsonFile }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**