fix:1、添加sdk。2、添加h5

This commit is contained in:
2026-06-25 15:48:45 +08:00
parent c05a65cdc3
commit 86518aae41
1212 changed files with 71385 additions and 194 deletions
@@ -1,3 +1,21 @@
// GENERATED BY UNITY. REMOVE THIS LINE TO PREVENT OVERWRITING WHEN CHANGING PLAYER SETTINGS
// 第一步:把用来修补 D8 编译器的 buildscript 独立提拔到最外层的最顶部
buildscript {
repositories {
**BUILD_SCRIPT_REPOSITORIES**
// 1. 添加存放新版 D8 编译器的谷歌官方仓库
maven { url 'https://storage.googleapis.com/r8-releases/raw' }
}
dependencies {
// 2. 强制指定更高级别的 R8/D8 编译器,解决 Meta SDK 引发的 NullPointerException
classpath 'com.android.tools:r8:8.2.24'
**BUILD_SCRIPT_DEPENDENCIES**
}
}
// 第二步:紧随其后的是原配 plugins 块(绝对不能被allprojects压在下面)
plugins {
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
@@ -8,6 +26,13 @@ plugins {
**BUILD_SCRIPT_DEPS**
}
// 第三步:将通用的 allprojects 移到文件下方安全区
allprojects {
repositories {
**PROJECT_REPOSITORIES**
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
}