Commit 7750ced8 by zhengnw@sobot.com

widget 1.1.4 android.lifecycle目录不混淆

parent 90f69e67
...@@ -8,6 +8,18 @@ android { ...@@ -8,6 +8,18 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 17 minSdkVersion 17
} }
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
}
} }
dependencies { dependencies {
......
...@@ -18,4 +18,6 @@ ...@@ -18,4 +18,6 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
\ No newline at end of file -keep class android.arch.lifecycle.** { *; }
-keep class android.arch.core.** { *; }
\ No newline at end of file
...@@ -12,8 +12,7 @@ task androidSourcesJar(type: Jar) { ...@@ -12,8 +12,7 @@ task androidSourcesJar(type: Jar) {
ext { ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名 PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'widget' //项目名 PUBLISH_ARTIFACT_ID = 'widget' //项目名
// PUBLISH_ARTIFACT_ID = 'widget_x' //项目名 PUBLISH_VERSION = '1.1.4' //版本号
PUBLISH_VERSION = '1.1.3' //版本号
} }
......
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