-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,6 +161,7 @@ android { | |
configurations { | ||
all { | ||
exclude("net.sf.kxml","kxml2") | ||
exclude("xmlpull","xmlpull") | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,28 @@ | ||
-dontwarn org.slf4j.impl.StaticLoggerBinder | ||
|
||
-keep class * implements org.slf4j.ILoggerFactory { | ||
<init>(...); | ||
<methods>; | ||
} | ||
|
||
# 保留所有实现了 Screen 的子类及其成员和方法 | ||
-keep class * extends cafe.adriel.voyager.core.screen.Screen { | ||
<init>(...); | ||
<methods>; | ||
} | ||
} | ||
|
||
-dontwarn org.slf4j.impl.StaticLoggerBinder | ||
# 保留所有实现了 Screen 的子类及其成员和方法 | ||
-keep class * extends cafe.adriel.voyager.core.screen.Screen { | ||
<init>(...); | ||
<methods>; | ||
} | ||
|
||
-keep class org.xmlpull.v1.XmlPullParser { *; } | ||
-keep class * extends org.xmlpull.v1.XmlPullParser { | ||
<init>(...); | ||
<methods>; | ||
} | ||
|
||
-dontwarn org.xmlpull.v1.** | ||
-dontwarn org.xmlpull.mxp1.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters