RandomGFGoStop/Assets/Plugins/Android/mainTemplate.gradle

77 lines
3.8 KiB
Groovy
Raw Normal View History

2025-08-27 21:08:17 +00:00
apply plugin: 'com.android.library'
2025-09-06 05:39:03 +00:00
apply from: '../shared/keepUnitySymbols.gradle'
2025-08-27 21:08:17 +00:00
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Android Resolver Dependencies Start
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12
implementation 'com.google.ads.mediation:facebook:6.18.0.0' // Packages/com.google.ads.mobile.mediation.metaaudiencenetwork/source/plugin/Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml:24
2025-09-05 02:58:23 +00:00
implementation 'com.google.ads.mediation:unity:4.12.3.0' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:25
2025-08-27 21:08:17 +00:00
implementation 'com.google.android.gms:play-services-ads:23.6.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
implementation 'com.google.android.gms:play-services-auth:16+' // Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml:10
implementation 'com.google.android.gms:play-services-base:18.7.2' // Assets/Firebase/Editor/AppDependencies.xml:17
2025-08-27 21:08:17 +00:00
implementation 'com.google.android.ump:user-messaging-platform:3.1.0' // Packages/com.google.ads.mobile/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
implementation 'com.google.firebase:firebase-analytics:23.0.0' // Assets/Firebase/Editor/AppDependencies.xml:15
implementation 'com.google.firebase:firebase-analytics-unity:13.2.0' // Assets/Firebase/Editor/AnalyticsDependencies.xml:18
implementation 'com.google.firebase:firebase-app-unity:13.2.0' // Assets/Firebase/Editor/AppDependencies.xml:22
implementation 'com.google.firebase:firebase-common:22.0.0' // Assets/Firebase/Editor/AppDependencies.xml:13
2025-09-07 01:22:33 +00:00
implementation 'com.google.games:gpgs-plugin-support:2.1.0' // Assets/GooglePlayGames/com.google.play.games/Editor/GooglePlayGamesPluginDependencies.xml:11
2025-08-27 21:08:17 +00:00
implementation 'com.google.signin:google-signin-support:1.0.4' // Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml:9
2025-09-07 06:59:30 +00:00
implementation 'com.onestorecorp.sdk:sdk-iap:21.02.01' // Assets/OneStoreCorpPlugins/Purchase/Editor/PurchaseDependencies.xml:6
implementation 'com.onestorecorp.sdk:sdk-licensing:2.2.1' // Assets/OneStoreCorpPlugins/AppLicenseChecker/Editor/AppLicenseCheckerDependencies.xml:6
2025-09-05 02:58:23 +00:00
implementation 'com.unity3d.ads:unity-ads:4.12.3' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:33
2025-08-27 21:08:17 +00:00
// Android Resolver Dependencies End
**DEPS**}
// Android Resolver Exclusions Start
android {
2025-09-06 05:39:03 +00:00
namespace "com.unity3d.player"
ndkVersion "**NDKVERSION**"
2025-10-02 18:12:36 +00:00
packaging {
exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/mips/*' + '*')
exclude ('/lib/mips64/*' + '*')
exclude ('/lib/x86/*' + '*')
exclude ('/lib/x86_64/*' + '*')
}
2025-08-27 21:08:17 +00:00
}
// Android Resolver Exclusions End
2025-09-07 06:59:30 +00:00
2025-08-27 21:08:17 +00:00
android {
ndkPath "**NDKPATH**"
2025-09-06 05:39:03 +00:00
compileSdk **APIVERSION**
2025-08-27 21:08:17 +00:00
buildToolsVersion '**BUILDTOOLS**'
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
defaultConfig {
2025-09-06 05:39:03 +00:00
minSdk **MINSDK**
targetSdk **TARGETSDK**
2025-08-27 21:08:17 +00:00
ndk {
2025-09-06 05:39:03 +00:00
debugSymbolLevel **DEBUGSYMBOLLEVEL**
2025-08-27 21:08:17 +00:00
abiFilters **ABIFILTERS**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
}
2025-09-06 05:39:03 +00:00
lint {
2025-08-27 21:08:17 +00:00
abortOnError false
}
2025-09-06 05:39:03 +00:00
androidResources {
2025-08-27 21:08:17 +00:00
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
2025-09-06 05:39:03 +00:00
}**PACKAGING**
2025-08-27 21:08:17 +00:00
}
2025-09-07 06:59:30 +00:00
2025-08-27 21:08:17 +00:00
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**