apply plugin: 'com.android.library' **APPLY_PLUGINS** allprojects { repositories { google() mavenCentral() jcenter() maven { url 'https://maven.google.com' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) // ✅ Correct Google Sign-In Dependencies implementation 'com.google.android.gms:play-services-auth:20.7.0' implementation 'com.google.android.gms:play-services-base:18.2.0' // ✅ Force correct AndroidX dependencies implementation 'androidx.annotation:annotation:1.3.0' implementation 'androidx.core:core:1.6.0' **DEPS** } android { namespace "com.unity3d.player" ndkPath "**NDKPATH**" compileSdkVersion 33 // ✅ Ensure compileSdkVersion is specified buildToolsVersion '**BUILDTOOLS**' compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** } lintOptions { abortOnError false } aaptOptions { noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" }**PACKAGING_OPTIONS** } **IL_CPP_BUILD_SETUP** **SOURCE_BUILD_SETUP** **EXTERNAL_SOURCES**