gradle-proguard-plugin


Source link: https://github.com/hotchemi/gradle-proguard-plugin

gradle-proguard-plugin

The gradle plugin to add proguard snippets to your proguard setting file quickly.

This plugin pulls the proguard information from the krschultz/android-proguard-snippets.
If you wanna add the snippets, PR to android-proguard-snippets!

Download

You can download from jcenter.

Add following the code to your root build.gradle.

apply plugin: 'add.proguard'  buildscript {

  repositories {

jcenter()
  
}

  dependencies {

classpath 'com.github.hotchemi:gradle-proguard-plugin:0.1.0'
  
}
 
}

How to use

Use the addProguard task as described below.

./gradlew addProguard -Plib=butterknife

The plugin add the proguard snippets to your *.pro file.

You must prepare the one .pro file. If there are several files or nothing, the plugin shows the warning.

And you can use the aP task, it is the shortcut of the addProguard.

./gradlew aP -Plib=butterknife

You can put plural arguments.

./gradlew aP -Plib="butterknife gson rx-java"

If you already added the snippets of the library, the plugin stops task and shows the warning.

proguard-rules.pro already contains library's snippet. Do you continue(y/n)?

Contribute

  1. Fork it
  2. Create your feature branch ( git checkout -b my-new-feature)
  3. Commit your changes ( git commit -am 'Added some feature')
  4. Push to the branch ( git push origin my-new-feature)
  5. Create new Pull Request

Resources

shapeletter is a simple view that displays a letter within circle or rectangle much like the gmail app.

ExVidPlayer is simple library that abstracts ExoPlayer.

Features:

  • Gesture controls.
  • Brightness controls with one single touch vertical scroll.
  • Volume controls with multitouch vertical scroll.
  • Forward on left swipe.
  • Reverse on right swipe.
  • Player controls

Data binding library for Android which is:

  • Lightweight
  • Doing one thing and doing it well
  • Easily extendable
  • Fully covered with unit tests
  • Working great with Jack, Retrolambda or Kotlin

A small String Template Library for Android and Java without any Dependencies.

Storing Credentials securely on a Device is a must. To make that possible we have combined the Android Keystore for generating Cryptographic keys, and storing them securely and using those keys we encrypt the credentials and save them in the SharedPreferences.

hiddenshot is a simple library to take a screenshot programmatically on demand. Screenshot is saved in the picture folder on the device. You may also share a screenshot programmatically.

  • Share a screenshot as image or image with text.
  • Take continuous screenshots periodically.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes