| apply plugin: 'com.android.application' | 
|   | 
| dependencies { | 
|     implementation project(':unityLibrary') | 
|     } | 
|   | 
| android { | 
|     compileSdkVersion **APIVERSION** | 
|     buildToolsVersion '33.0.0' | 
|   | 
|     compileOptions { | 
|         sourceCompatibility JavaVersion.VERSION_1_8 | 
|         targetCompatibility JavaVersion.VERSION_1_8 | 
|     } | 
|   | 
|     packagingOptions {exclude 'META-INF/rxjava.properties'} | 
|      | 
|     defaultConfig { | 
|         minSdkVersion **MINSDKVERSION** | 
|         targetSdkVersion **TARGETSDKVERSION** | 
|         applicationId '**APPLICATIONID**' | 
|         ndk { | 
|             abiFilters **ABIFILTERS** | 
|         } | 
|         versionCode **VERSIONCODE** | 
|         versionName '**VERSIONNAME**' | 
|     } | 
|   | 
|     aaptOptions { | 
|         noCompress = ['.unity3d', '.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ') | 
|         ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" | 
|     }**SIGN** | 
|   | 
|     lintOptions { | 
|         abortOnError false | 
|         checkReleaseBuilds false | 
|     } | 
|   | 
|     buildTypes { | 
|         debug { | 
|             minifyEnabled **MINIFY_DEBUG** | 
|             useProguard **PROGUARD_DEBUG** | 
|             proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** | 
|             jniDebuggable true | 
|         } | 
|         release { | 
|             minifyEnabled **MINIFY_RELEASE** | 
|             useProguard **PROGUARD_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 | 
|         } | 
|     } | 
| }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP** | 
|   | 
| task copyJsonFile { | 
|     copy { | 
|         System.out.println("copy googlejson==============="); | 
|         delete("./google-services.json") | 
|         from('../../../Assets/Plugins/Android/') | 
|         into('./') | 
|         include("google-services.json") | 
|     } | 
| } | 
|   | 
| apply plugin: 'com.google.gms.google-services' |