hch
2025-07-18 2a011653190c36e6fb1f790b3819a1d6b0744aef
Channel/Android/hyyngame_huawei/mainTemplate.gradle
@@ -1,12 +1,11 @@
apply plugin: 'com.android.library'
//**APPLY_PLUGINS**
apply from: 'deps.gradle'
**APPLY_PLUGINS**
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
   implementation(name: 'ald_v', ext: 'aar') //x.x.x为具体版本
    //SDK基础能力
   implementation(name: 'ald_v', ext: 'aar') //x.x.x为具体版本
    //SDK基础能力
    implementation 'com.appsflyer:af-android-sdk:6.14.0'
    implementation 'com.android.installreferrer:installreferrer:2.2'
    api 'androidx.annotation:annotation:1.5.0'
@@ -21,31 +20,32 @@
    }
    //base  theme
    api 'androidx.appcompat:appcompat:1.2.0'
    //ald ui用
    //ald ui用
    api 'androidx.cardview:cardview:1.0.0'
    // 華為賬戶
    // 華為賬戶
    implementation 'com.huawei.hms:hwid:6.11.0.300'
    // 華為推送
    // 華為推送
    implementation 'com.huawei.hms:push:6.11.0.300'
    // 華為支付
    // 華為支付
    implementation 'com.huawei.hms:iap:6.11.0.300'
**DEPS**}
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '33.0.0'
    ndkPath "**NDKPATH**"
    compileSdkVersion 34
    buildToolsVersion '34.0.0'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    packagingOptions {exclude 'META-INF/rxjava.properties'}
    defaultConfig {
        minSdkVersion **MINSDKVERSION**
        targetSdkVersion **TARGETSDKVERSION**
        minSdkVersion 24
        targetSdkVersion 34
        ndk {
            abiFilters **ABIFILTERS**
        }
@@ -60,7 +60,10 @@
    }
    aaptOptions {
        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
        noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
    }**PACKAGING_OPTIONS**
}**REPOSITORIES****SOURCE_BUILD_SETUP**
}
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**