v0.8.1: fixed shader errors caused by R8 on gradle plugin 4.0

This commit is contained in:
Evan Debenham 2020-06-10 15:39:40 -04:00
parent d76e81d27e
commit 9fe214de3a

View File

@ -2,6 +2,10 @@
-keepnames class com.shatteredpixel.** { *; } -keepnames class com.shatteredpixel.** { *; }
-keepnames class com.watabou.** { *; } -keepnames class com.watabou.** { *; }
# For some reason optimizing shader classes causes visual errors on AGP 4.0
# TODO check this every so often, might be a bug that gets resolved
-keep class com.watabou.noosa.NoosaScript* { *; }
# retained to support meaningful stack traces # retained to support meaningful stack traces
# note that the mapping file must be referenced in order to make sense of line numbers # note that the mapping file must be referenced in order to make sense of line numbers
# mapping file can be found in core/build/outputs/mapping after running a release build # mapping file can be found in core/build/outputs/mapping after running a release build