yongjhih / android-proguards Goto Github PK
View Code? Open in Web Editor NEWAAR proguards
License: Apache License 2.0
AAR proguards
License: Apache License 2.0
Maybe its a good idea to also add the proguard rules for adding JavaScript Interfaces to WebView, which is very often used.
-keepattributes JavascriptInterface
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
Android Studio shows the following error:
`FAILURE: Build failed with an exception.
Could not resolve all dependencies for configuration :app:debugRuntimeClasspath.
Could not determine artifacts for com.github.yongjhih.android-proguards:rxjava-pro:-SNAPSHOT:531c7653d9-1: Skipped due to earlier error
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1m 34s
Could not determine artifacts for com.github.yongjhih.android-proguards:rxjava-pro:-SNAPSHOT:531c7653d9-1: Skipped due to earlier error `
Tried in multiple laptops in different networks and the issue remains the same. This issue is replicates 3 machines in the UK, but a colleague in Spain remains able to build the same source code with the same Android SDK/IDE/gradle configurations.
The CI/CD pipeline was working until 3 days ago and it started failing then. No changes were made in the project.
https://scans.gradle.com/s/vr5oaepohkxhc
Any idea?
Hello,
Since the ProGuard rules for RxJava 1.x and RxJava 2.x are totally different, is it better to split them into different artifactIds (or at least change the publishVersion back to 1.2.2)?
compile 'com.github.yongjhih.android-proguards:rxjava-pro:1.2.2'
compile 'com.github.yongjhih.android-proguards:rxjava2-pro:2.0.1'
And in fact, at this moment Proguard rules are not required for RxJava 2.x.
Using
compile 'com.github.yongjhih.android-proguards:android-proguards:-SNAPSHOT'
is not working, it just result in a endless "Gradle: Resolve dependencies". Any ideas why?
can you elaborate in the readme with an example what this actually does ?
I really don't understand how to us it, can you please provide step by step guide.
a testing apk by uiautomator can be proguard? how to proguard?
Hi! The Fabrics rules are the Retrofit rules.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.