Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
cpacm committed Nov 15, 2016
2 parents 6800c20 + 6f5ae28 commit 20f4ac1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

[大尺寸原图](http://ofrf20oms.bkt.clouddn.com/beats_origin.jpg)


[app下载地址](https://github.com/cpacm/MoeMusic/releases/download/1.0.0/beats_1.0.0.apk)
[app下载地址](http://fir.im/beats)

`Beats` 是一款基于萌否网站api的音乐管理软件,它既可以从萌否网站上获取网络上的音乐资源也可以在本地音乐上进行私人化定制管理。

Expand Down
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ android {
}*/
}
buildTypes {
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Expand Down
14 changes: 14 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@
-keep class com.google.gson.stream.** { *; }
-keep class org.json.** {*;}

# Explicitly preserve all serialization members. The Serializable interface
# is only a marker interface, so it wouldn't save them.
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}

-keep public class * implements java.io.Serializable {*;}

#################################### retrofit ###################################
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
Expand Down Expand Up @@ -100,4 +113,5 @@

#################################### app ###################################
-keep class net.cpacm.core.bean.**{ *; }
-keep class net.cpacm.core.bean.data.**{ *; }
-keep class net.cpacm.moemusic.ui.account.WebAppBridge

0 comments on commit 20f4ac1

Please sign in to comment.