AAR proguards
Use one line to apply almost famous libraries of proguard configurations:
compile 'com.infstory:proguard-snippets:1.0.0'That's it.
Via jcenter
repositories {
jcenter()
}
dependencies {
compile 'com.infstory:proguard-snippets:1.0.0'
}Or via jitpack.io
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.yongjhih.android-proguards:android-proguards-all:-SNAPSHOT'
}Specify RxJava proguard rules:
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'io.reactivex:rxjava:1.2.1'
compile 'com.github.yongjhih.android-proguards:rxjava-pro:-SNAPSHOT'
}For each proguard rule dep:
…Pack proguard rules as proguard.txt into AAR with consumerProguardFiles android-gradle (0.5.7+) directive.
wget https://bintray.com/yongjhih/maven/download_file?file_path=com%2Finfstory%2Fproguard-snippets%2F1.0.0%2Fproguard-snippets-1.0.0.aar
mv proguard-snippets-1.0.0.aar a.zip
unzip a.zipYou can find out proguard.txt.
Copyright 2015 8tory, Inc.
Copyright 2013 Kevin Schultz
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.No open issues yet, or sync has not completed.