hch
2024-08-13 d54dfa66193eaff28217c03ef3d7c4250448d895
Channel/Android/hyyngame_huawei/baseProjectTemplate.gradle
@@ -1,30 +1,19 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
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
    // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
    // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
   //id 'com.android.tools.build' version "7.3.0" apply false
   //id 'com.huawei.agconnect.agcp' version "1.6.0.300" apply false
    **BUILD_SCRIPT_DEPS**
}
allprojects {
    buildscript {
        repositories {**ARTIFACTORYREPOSITORY**
            google()
            jcenter()
         maven { url 'https://developer.huawei.com/repo/' }
        }
        dependencies {
            // 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
            // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
            // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
         classpath 'com.android.tools.build:gradle:4.0.1'
         classpath 'com.huawei.agconnect:agcp:1.6.0.300'
            **BUILD_SCRIPT_DEPS**
        }
    }
    repositories {**ARTIFACTORYREPOSITORY**
        google()
        jcenter()
      maven { url 'https://developer.huawei.com/repo/' }
        flatDir {
            dirs "${project(':unityLibrary').projectDir}/libs"
        }
    }
}