From f9956641e92cce3ece4cdff523a6e453f159d268 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 21 十二月 2023 11:58:30 +0800 Subject: [PATCH] 2023年12月21日11:58:13 --- app/build.gradle | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 573fc70..10ce0ba 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,17 +36,26 @@ abiFilters 'x86', 'armeabi-v7a', "arm64-v8a" //涓嶆敮鎸乤rmeabi } + manifestPlaceholders = [ + JPUSH_PKGNAME: applicationId, + //JPush 涓婃敞鍐岀殑鍖呭悕瀵瑰簲鐨� Appkey. + JPUSH_APPKEY : "3baee103750e192ba68f3878", + //鏆傛椂濉啓榛樿鍊煎嵆鍙�. + JPUSH_CHANNEL: "developer-default", + + ] + + } + repositories { + flatDir { + dirs 'libs' + } } //姝ゅ閰嶇疆蹇呴』娣诲姞 鍚﹀垯鏃犳硶姝g‘杩愯uni aaptOptions { additionalParameters '--auto-add-overlay' //noCompress 'foo', 'bar' ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~" - } - repositories { - flatDir { - dirs 'libs' - } } /** * 鎵撳寘鑷姩鍛藉悕 @@ -139,9 +148,10 @@ //閫氱敤閫傞厤鍣� implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6' -// //鏋佸厜 -// implementation 'cn.jiguang.sdk:jpush:4.6.2' // 姝ゅ浠Push 4.6.2 鐗堟湰涓轰緥銆� -// implementation 'cn.jiguang.sdk:jcore:3.2.2' // 姝ゅ浠Core 3.2.2 鐗堟湰涓轰緥銆� + // 姝ゅ浠Push 5.0.3 鐗堟湰涓轰緥锛屾敞鎰忥細浠� 5.0.0 鐗堟湰寮�濮嬪彲浠ヨ嚜鍔ㄦ媺鍙� JCore 鍖咃紝鏃犻渶鍙﹀閰嶇疆 + implementation 'cn.jiguang.sdk:jpush-google:5.2.2' + //鍒嗘瀽鍜岀敤鎴锋爣绛剧瓑鍔熻兘(鍙�夛紝闆嗘垚鏋佸厜鍒嗘瀽SDK鍚庯紝鍗冲彲鏀寔琛屼负瑙﹀彂鎺ㄩ�佹秷鎭�佹帹閫佽浆鍖栫巼缁熻锛岀敤鎴疯涓哄垎) + implementation 'cn.jiguang.sdk:joperate:2.0.2' } \ No newline at end of file -- Gitblit v1.8.0