Channel/Android/hyyngame_gw/LauncherManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/baseProjectTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/debug/libs/library-debug-hyyngame.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/launcherTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/mainTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/release/libs/library-release-hyyngame.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/settingsTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Channel/Android/hyyngame_gw/LauncherManifest.xml
File was deleted Channel/Android/hyyngame_huawei/baseProjectTemplate.gradle
@@ -1,32 +1,13 @@ // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN 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" } } 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** } task clean(type: Delete) { Channel/Android/hyyngame_huawei/debug/libs/library-debug-hyyngame.aarBinary files differ
Channel/Android/hyyngame_huawei/launcherTemplate.gradle
@@ -5,23 +5,20 @@ } android { compileSdkVersion **APIVERSION** buildToolsVersion '33.0.0' repositories { flatDir { dirs 'libs' } } 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 applicationId '**APPLICATIONID**' ndk { abiFilters **ABIFILTERS** @@ -32,7 +29,7 @@ aaptOptions { noCompress = ['.unity3d', '.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" }**SIGN** lintOptions { @@ -43,13 +40,11 @@ buildTypes { debug { minifyEnabled **MINIFY_DEBUG** useProguard **PROGUARD_DEBUG** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** jniDebuggable true } release { minifyEnabled **MINIFY_RELEASE** useProguard **PROGUARD_RELEASE** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** } }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS** 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** Channel/Android/hyyngame_huawei/release/libs/library-release-hyyngame.aarBinary files differ
Channel/Android/hyyngame_huawei/settingsTemplate.gradle
New file @@ -0,0 +1,37 @@ pluginManagement { repositories { **ARTIFACTORYREPOSITORY** maven { url "https://jitpack.io" } maven { url 'https://maven.aliyun.com/repository/releases' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/public' } gradlePluginPortal() google() mavenCentral() } } include ':launcher', ':unityLibrary' **INCLUDES** dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { **ARTIFACTORYREPOSITORY** maven { url "https://jitpack.io" } maven { url 'https://maven.aliyun.com/repository/releases' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/public' } google() mavenCentral() flatDir { dirs "${project(':unityLibrary').projectDir}/libs" } } }