From c76fad32a14336afa19445045897f183ea58ece9 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 13 八月 2018 14:39:18 +0800
Subject: [PATCH] fixed 出库脚本更新; icon提交
---
Project/app/build.gradle | 27 ++++++++++++++++++++++++---
Project/app/src/main/AndroidManifest.xml | 1 +
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/Project/app/build.gradle b/Project/app/build.gradle
index cf509f1..303d2b8 100644
--- a/Project/app/build.gradle
+++ b/Project/app/build.gradle
@@ -36,6 +36,12 @@
manifestPlaceholders.put("TrackAppID", "fa550076116709861b7e9b61bb401710")
manifestPlaceholders.put("TrackChannelID", "_default_")
}
+ lxj {
+ dimension "default"
+ manifestPlaceholders.put("appId", "com.zyxhgame.gamelxj")
+ manifestPlaceholders.put("TrackAppID", "0c5ad863fb8935d18b3ecefe05389701")
+ manifestPlaceholders.put("TrackChannelID", "_default_")
+ }
secondworld {
dimension "default"
manifestPlaceholders.put("appId", "com.secondworld.snxxz")
@@ -62,6 +68,20 @@
implementation files('libs/tracking1.3.0.jar')
compile(name: 'freesdk-release', ext: 'aar')
provided files('libs/unity-classes.jar')
+}
+
+task autoCopyLxjAndroidManifest(type: Copy) {
+ dependsOn 'assembleLxjRelease'
+ from zipTree("build/outputs/aar/app-lxj-release.aar")
+ include "AndroidManifest.xml"
+ into "C:\\Unity3D_SDK\\娓犻亾宸紓\\鐏典粰璁癨\"
+}
+
+task autoCopyLxjAAR(type: Copy) {
+ dependsOn autoCopyLxjAndroidManifest
+ from "build/outputs/aar/"
+ include "app-lxj-release.aar"
+ into "C:\\Unity3D_SDK\\娓犻亾宸紓\\鐏典粰璁癨\libs\\"
}
task autoCopyDjxAndroidManifest(type: Copy) {
@@ -96,12 +116,13 @@
dependsOn 'assembleSecondworldRelease'
from zipTree("build/outputs/aar/app-secondworld-release.aar")
include "AndroidManifest.xml"
- into "C:\\Unity3D_SDK\\Android\\test"
+ into "C:\\Unity3D_SDK\\Android\\test\\"
}
task autoCopySecondWorldAAR(type: Copy) {
dependsOn autoCopySecondWorldAndroidManifest
- from "build/outputs/aar/"
+ from 'build/outputs/aar/'
include "app-secondworld-release.aar"
- into "C:\\Unity3D_SDK\\Android\\test\\libs\\"
+ into 'C:\\Unity3D_SDK\\Android\\test\\lib\\'
+
}
\ No newline at end of file
diff --git a/Project/app/src/main/AndroidManifest.xml b/Project/app/src/main/AndroidManifest.xml
index 150dd13..82b0a9b 100644
--- a/Project/app/src/main/AndroidManifest.xml
+++ b/Project/app/src/main/AndroidManifest.xml
@@ -33,6 +33,7 @@
<application
android:allowBackup="true"
+ android:icon="@drawable/app_icon"
android:hardwareAccelerated="false"
android:isGame="true"
android:label="@string/app_name"
--
Gitblit v1.8.0