From 3de972d12c7193c258d0bd0abd3036c08af50b86 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Tue, 22 Aug 2023 14:03:04 +0800 Subject: [PATCH] =?UTF-8?q?6.5.4=E7=A4=BC=E7=89=A9=E5=86=A0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 14 ++++++++++++++ build.gradle | 2 ++ common/build.gradle | 3 +++ 3 files changed, 19 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index bb48ad393..a2a939a1e 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -235,4 +235,18 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode; } -keep class com.faceunity.wrapper.faceunity$LoadConfig*{ private static boolean sLoadedLibrary; +} +-keep class com.umeng.** {*;} + +-keep class org.repackage.** {*;} + +-keep class com.uyumao.** { *; } + +-keepclassmembers class * { + public (org.json.JSONObject); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7d45ccc5a..412a03df4 100644 --- a/build.gradle +++ b/build.gradle @@ -11,6 +11,7 @@ buildscript { maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.fabric.io/public' } maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库 + maven { url 'https://repo1.maven.org/maven2/' }//埋点 google() mavenCentral() } @@ -41,6 +42,7 @@ allprojects { maven { url 'https://maven.fabric.io/public' } maven { url 'http://maven.faceunity.com/repository/maven-public/' }//美颜库 maven { url "https://jitpack.io" } + maven { url 'https://repo1.maven.org/maven2/' }//埋点 google() // Google's Maven repository } } diff --git a/common/build.gradle b/common/build.gradle index 19700ba89..680e2065e 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -196,4 +196,7 @@ dependencies { api 'com.github.gzu-liyujiang.AndroidPicker:WheelView:4.1.11' //自定义圆角图片 api 'com.makeramen:roundedimageview:2.3.0' + // 友盟统计SDK + implementation 'com.umeng.umsdk:common:9.6.3'// 必选 + implementation 'com.umeng.umsdk:asms:1.8.0'// 必选 }