changed the proguard

This commit is contained in:
unknown
2020-07-19 15:45:17 +08:00
parent e3c1afbdb4
commit 07bfb406a0
7 changed files with 14 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ android {
externalNativeBuild {
ndk {
// 设置支持的SO库架构
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"
abiFilters "armeabi", "armeabi-v7a"
}
}
}

View File

@@ -304,7 +304,8 @@
#-----ZhiDaoService-----
-keep class com.zhidao.auto.platform.*{*;}
-keep class com.zhidaohulian.*{*;}
-keep class com.elegant.analytics.*{*;}
-keep class com.zhidao.boot.*{*;}
-keep class com.elegant.*{*;}
-keep class com.zhidao.socketsdk.*{*;}
-keep class com.zhidao.ptech.*{*;}
-keep class com.zhidao.autopilot.support.*{*;}

View File

@@ -6,7 +6,8 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
#org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xmx4096m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
@@ -17,6 +18,7 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
org.gradle.parallel=true
## maven 配置
RELEASE_REPOSITORY_URL=http://nexus.zhidaoauto.com/repository/maven-releases/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -27,7 +27,9 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
zipAlignEnabled true
consumerProguardFiles 'consumer-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

View File

@@ -1,2 +1,3 @@
-keep class com.tencent.** { *; }
-keep com.mogo.module.v2x.entity.** { *; }
#-----V2XModule-----
-keep class com.tencent.* { *; }
-keep class com.mogo.module.v2x.entity.* { *; }

View File

@@ -19,5 +19,7 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-----V2XModule-----
-keep class com.tencent.* { *; }
-keep class com.mogo.module.v2x.entity.* { *; }