From fa67d4417ec6949183038f99dff517f5e3c7cda6 Mon Sep 17 00:00:00 2001
From: nilupeng <qingingrunt2010@qq.com>
Date: Sun, 30 Jan 2022 05:03:48 +0000
Subject: [PATCH] 加密调整

---
 app/build.gradle |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index 1789858..f46abb5 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -38,10 +38,24 @@
     buildFeatures {
         viewBinding true
     }
+    android.applicationVariants.all { variant ->
+        variant.outputs.all {
+            def viron
+
+            if (buildType.name.equals('release')) {
+                viron = "正式版";
+            }else if (buildType.name.equals('debug')) {
+                viron = "开发版";
+            }
+            outputFileName =  "MVVM开源项目-" + viron + "-v" +
+                    defaultConfig.versionName +"-" + defaultConfig.versionCode +"-" + new Date().format("MMddHHmm", TimeZone.getTimeZone("UTC"))+
+                    ".apk"
+        }
+    }
 }
 
 dependencies {
-
+    implementation fileTree(dir: 'libs', include: ['*.jar'])
     implementation 'androidx.appcompat:appcompat:1.2.0'
     implementation 'com.google.android.material:material:1.3.0'
     implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
@@ -60,7 +74,12 @@
     implementation 'com.squareup.okhttp3:okhttp:4.9.0'
     implementation 'com.squareup.retrofit2:retrofit:2.9.0'
     implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'    //RXjava和retrofit结合
-    implementation 'com.permissionx.guolindev:permissionx:1.2.2'    //权限依赖让你推广你就发群里?没有别的群了?
+    implementation 'com.guolindev.permissionx:permissionx:1.6.0'    //权限依赖
     implementation 'com.github.bumptech.glide:glide:4.12.0'
     annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
+    implementation 'com.pangle.cn:ads-sdk-pro:4.0.2.2'//字节跳动  穿山甲广告
+    implementation 'com.tencent.bugly:crashreport:latest.release' //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9
+    implementation 'com.tencent.bugly:nativecrashreport:latest.release' //其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0
+    implementation 'com.facebook.rebound:rebound:0.3.6'//Rebound  “弹簧”动画效果的第三方工具包,由FaceBook
+    implementation 'com.github.zhaolei9527:BottomMenu:v1.0.1'//底部菜单弹框
 }
\ No newline at end of file

--
Gitblit v1.9.1