Commit 16195d52 by sikang

添加魔蝎SDK

parent 797d7c78
......@@ -117,6 +117,8 @@ dependencies {
//facebook accountKit SDK
api 'com.facebook.android:account-kit-sdk:4.37.0'
//魔蝎
// api 'com.moxie:moxie-client-inter:1.1.6.2'
//facebook SDK
// api 'com.facebook.android:facebook-android-sdk:[4,5)'
......
......@@ -18,8 +18,33 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
#-ignorewarnings
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-dontwarn dalvik.**
# 保护注解
-keepattributes *Annotation*
# 避免混淆泛型
-keepattributes Signature
# 避免混淆反射
-keepattributes EnclosingMethod
# 抛出异常时保留代码行号
-keepattributes SourceFile,LineNumberTable
# 不混淆内部类
-keepattributes InnerClasses
-ignorewarnings
-obfuscationdictionary dic.txt
-classobfuscationdictionary dic.txt
-packageobfuscationdictionary dic.txt
#指定代码的压缩级别
-optimizationpasses 5
......@@ -436,6 +461,10 @@
-dontskipnonpubliclibraryclassmembers
-dontwarn dalvik.**
-dontwarn com.tencent.smtt.**
-dontwarn android.os.**
-dontwarn com.android.internal.**
-keep class cn.tongdun.android.**{*;}
#-overloadaggressively
# --------------------------------------------------------------------------
......
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
// classpath 'com.google.gms:google-services:4.0.1'
// classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
// classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
// classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.5.4"
}
}
ext {
// sdk & tools
minSdkVersion = 16
targetSdkVersion = 27
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
supportLibraryVersion = '27.1.1'
}
\ No newline at end of file
......@@ -2,6 +2,6 @@ rm -rf ../resGuardApks
cd script
./rename_project.sh
cd ../../
gradlew resguardAppProductOthersRelease
gradlew resguardAppProductGoogleplayRelease
cd lib_base/script
./reset_name.sh
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment