12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- apply plugin: 'com.android.library'
-
-
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- // Android Resolver Dependencies Start
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12
- implementation 'com.google.android.gms:play-services-ads:23.0.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
- implementation 'com.google.android.ump:user-messaging-platform:2.2.0' // Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
- // Android Resolver Dependencies End
- implementation(name: 'googlemobileads-unity', ext:'aar')
- implementation(name: 'install-debug', ext:'aar')
- implementation project('GoogleMobileAdsPlugin.androidlib')
-
- }
-
- // Android Resolver Exclusions Start
- android {
- packagingOptions {
- exclude ('/lib/armeabi/*' + '*')
- exclude ('/lib/mips/*' + '*')
- exclude ('/lib/mips64/*' + '*')
- exclude ('/lib/x86/*' + '*')
- exclude ('/lib/x86_64/*' + '*')
- }
- }
- // Android Resolver Exclusions End
- android {
- ndkPath "D:/2022.3.26f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK"
-
- compileSdkVersion 33
- buildToolsVersion '32.0.0'
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
-
- defaultConfig {
- minSdkVersion 22
- targetSdkVersion 33
- ndk {
- abiFilters 'armeabi-v7a', 'arm64-v8a'
- }
- versionCode 1
- versionName '1.0'
- consumerProguardFiles 'proguard-unity.txt'
- }
-
- lintOptions {
- abortOnError false
- }
-
- aaptOptions {
- noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
- ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
- }
-
- packagingOptions {
- doNotStrip '*/armeabi-v7a/*.so'
- doNotStrip '*/arm64-v8a/*.so'
- }
- }
-
-
-
-
-
-
- apply from: 'GoogleMobileAdsPlugin.androidlib\\packaging_options.gradle'
|