From c56a754d9662eb7dd02799491e2498d6263d608b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 22 七月 2024 11:59:51 +0800
Subject: [PATCH] 0312 新引擎配置

---
 Assets/Plugins/Android/launcherTemplate.gradle |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/Assets/Plugins/Android/launcherTemplate.gradle b/Assets/Plugins/Android/launcherTemplate.gradle
index c9ef41e..8911b3c 100644
--- a/Assets/Plugins/Android/launcherTemplate.gradle
+++ b/Assets/Plugins/Android/launcherTemplate.gradle
@@ -5,16 +5,17 @@
     }
 
 android {
+    ndkPath "**NDKPATH**"
+
     compileSdkVersion **APIVERSION**
-    buildToolsVersion '33.0.0'
+    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**
@@ -28,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 {
@@ -39,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**

--
Gitblit v1.8.0