Skip to content

Commit cd5e7d4

Browse files
author
Dylan McIntyre
authored
Merge pull request #20 from Gregliest/proguard
Update README to include Proguard instructions.
2 parents f87f787 + a51aa62 commit cd5e7d4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@ You can also __fastBlur__ a `View`. This optimizes the view blurring process by
9898
BlurKit.getInstance().fastBlur(View src, int radius, float downscaleFactor);
9999
```
100100

101+
## Proguard
102+
If you use Proguard, add the following to your proguard-rules.pro:
103+
104+
```
105+
-keep class com.wonderkiln.blurkit.** { *; }
106+
107+
-dontwarn android.support.v8.renderscript.*
108+
-keepclassmembers class android.support.v8.renderscript.RenderScript {
109+
native *** rsn*(...);
110+
native *** n*(...);
111+
}
112+
```
113+
101114
## To Do (incoming!)
102115
- [ ] `SurfaceView` support
103116
- [ ] Support for use outside of an `Activity` (dialogs, etc.)

0 commit comments

Comments
 (0)