From 0451039a5f661938eef3067f188b984957789893 Mon Sep 17 00:00:00 2001
From: zhangaotian <8474238@qq.com>
Date: Tue, 16 Jul 2024 16:05:27 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=89=93=E5=8C=85=E3=80=91=E5=AE=89?=
=?UTF-8?q?=E5=8D=93=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../FirebaseCrashlytics.androidlib.meta | 32 +++++++++++++++++++
.../Plugins/Android/mainTemplate.gradle | 3 ++
.../Plugins/Android/settingsTemplate.gradle | 6 ++++
.../AndroidResolverDependencies.xml | 3 ++
4 files changed, 44 insertions(+)
create mode 100644 Forest/Assets/Plugins/Android/FirebaseCrashlytics.androidlib.meta
diff --git a/Forest/Assets/Plugins/Android/FirebaseCrashlytics.androidlib.meta b/Forest/Assets/Plugins/Android/FirebaseCrashlytics.androidlib.meta
new file mode 100644
index 0000000..28ad751
--- /dev/null
+++ b/Forest/Assets/Plugins/Android/FirebaseCrashlytics.androidlib.meta
@@ -0,0 +1,32 @@
+fileFormatVersion: 2
+guid: 6aba91723618f4e9384fc1015c76ba71
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 0
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Android: Android
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Any:
+ second:
+ enabled: 0
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Forest/Assets/Plugins/Android/mainTemplate.gradle b/Forest/Assets/Plugins/Android/mainTemplate.gradle
index 1249425..b1c6600 100644
--- a/Forest/Assets/Plugins/Android/mainTemplate.gradle
+++ b/Forest/Assets/Plugins/Android/mainTemplate.gradle
@@ -13,6 +13,8 @@ dependencies {
implementation 'com.facebook.android:facebook-gamingservices:[17.0.0,18)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:9
implementation 'com.facebook.android:facebook-login:[17.0.0,18)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:7
implementation 'com.facebook.android:facebook-share:[17.0.0,18)' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:8
+ implementation 'com.google.ads.mediation:facebook:6.14.0.0' // Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml:24
+ implementation 'com.google.ads.mediation:unity:4.12.0.0' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:25
implementation 'com.google.android.gms:play-services-ads:22.6.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
implementation 'com.google.android.gms:play-services-base:18.4.0' // Assets/Firebase/Editor/AppDependencies.xml:17
implementation 'com.google.android.ump:user-messaging-platform:2.1.0' // Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
@@ -25,6 +27,7 @@ dependencies {
implementation 'com.google.firebase:firebase-crashlytics-ndk:19.0.0' // Assets/Firebase/Editor/CrashlyticsDependencies.xml:13
implementation 'com.google.firebase:firebase-crashlytics-unity:12.0.0' // Assets/Firebase/Editor/CrashlyticsDependencies.xml:20
implementation 'com.parse.bolts:bolts-android:1.4.0' // Assets/FacebookSDK/Plugins/Editor/Dependencies.xml:4
+ implementation 'com.unity3d.ads:unity-ads:4.12.0' // Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:33
// Android Resolver Dependencies End
**DEPS**}
diff --git a/Forest/Assets/Plugins/Android/settingsTemplate.gradle b/Forest/Assets/Plugins/Android/settingsTemplate.gradle
index 26e5819..c59bead 100644
--- a/Forest/Assets/Plugins/Android/settingsTemplate.gradle
+++ b/Forest/Assets/Plugins/Android/settingsTemplate.gradle
@@ -24,6 +24,12 @@ dependencyResolutionManagement {
maven {
url "https://maven.google.com/" // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7, Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7
}
+ maven {
+ url "https://repo.maven.apache.org/maven2/" // Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml:24, Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:25, Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:33
+ }
+ maven {
+ url "https://dl.google.com/dl/android/maven2/" // Assets/GoogleMobileAds/Mediation/MetaAudienceNetwork/Editor/MetaAudienceNetworkMediationDependencies.xml:24, Assets/GoogleMobileAds/Mediation/UnityAds/Editor/UnityMediationDependencies.xml:25
+ }
mavenLocal()
// Android Resolver Repos End
flatDir {
diff --git a/Forest/ProjectSettings/AndroidResolverDependencies.xml b/Forest/ProjectSettings/AndroidResolverDependencies.xml
index 67a9ad9..5ea3938 100644
--- a/Forest/ProjectSettings/AndroidResolverDependencies.xml
+++ b/Forest/ProjectSettings/AndroidResolverDependencies.xml
@@ -9,6 +9,8 @@
com.facebook.android:facebook-gamingservices:[17.0.0,18)
com.facebook.android:facebook-login:[17.0.0,18)
com.facebook.android:facebook-share:[17.0.0,18)
+ com.google.ads.mediation:facebook:6.14.0.0
+ com.google.ads.mediation:unity:4.12.0.0
com.google.android.gms:play-services-ads:22.6.0
com.google.android.gms:play-services-base:18.4.0
com.google.android.ump:user-messaging-platform:2.1.0
@@ -21,6 +23,7 @@
com.google.firebase:firebase-crashlytics-ndk:19.0.0
com.google.firebase:firebase-crashlytics-unity:12.0.0
com.parse.bolts:bolts-android:1.4.0
+ com.unity3d.ads:unity-ads:4.12.0
Assets/GeneratedLocalRepo/Firebase/m2repository/com/google/firebase/firebase-analytics-unity/12.0.0/firebase-analytics-unity-12.0.0.aar