yongjhih/android-proguards


AAR proguards

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.yongjhih:proguard-snippets:2.1'
	}
	dependencies {
		implementation("com.github.yongjhih:proguard-snippets:2.1")
	}
	<dependency>
	    <groupId>com.github.yongjhih</groupId>
	    <artifactId>proguard-snippets</artifactId>
	    <version>2.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.yongjhih" % "proguard-snippets" % "2.1"
        
        

                            
    :dependencies [[com.github.yongjhih/proguard-snippets "2.1"]]
        
        

Readme


android proguards

Android Weekly Android Arsenal JitPack Build Status

proguard-snippets.png

Use one line to apply almost famous libraries of proguard configurations:

compile 'com.infstory:proguard-snippets:1.0.0'

That's it.

Installation

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:

compile 'com.github.yongjhih.android-proguards:acra-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:action-bar-sherlock-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:activeandroid-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:adjust-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:admob-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:alibaba-fastjson-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:androidannotations-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:android-gif-drawable-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:androidquery-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:android-view-animations-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:auto-parse-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:avro-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:aws-1.7-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:aws-2.1.5-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:butterknife-6-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:butterknife-7-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:calligraphy-2.1.0-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:circular-progress-button-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:crashlytics-1-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:crashlytics-2-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:crittercism-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:crosswalk-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:dagger-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:deeplinkdispatch-1.5-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:easy-adapter-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:eventbus-2-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:eventbus-3-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:fabric-twitter-kit-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:facebook-conceal-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:facebook-fresco-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:facebook-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:facebook-stetho-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:flurry-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:glide-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-admob-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-analytics-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-auto-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-iap-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-play-services-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:greendao-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:gson-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:guava-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:icepick-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:jackson-2-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:joda-convert-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:joda-time-android-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:joda-time-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:jsoup-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:logansquare-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:logback-android-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:mikepenz-android-iconics-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:mixpanel-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:mopub-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:mpandroidchart-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:new-relic-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:okhttp3-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:okhttp-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:okio-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:otto-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:parceler-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:parse-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:picasso-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:project-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:realm-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:retrofit2-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:retrofit-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:retrolambda-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:rxjava-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:rxjava-promises-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:signpost-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:simple-parse-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:simple-xml-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:sqlite-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:support-design-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:support-v7-appcompat-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:support-v7-cardview-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:svgandroid-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:tencent-bugly-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:twowayview-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:wire-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:wizardroid-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-gms-safetynet-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:google-gms-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:zendesk-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:zendesk-chat-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:auto-bundle-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:webkit-pro:-SNAPSHOT'
compile 'com.github.yongjhih.android-proguards:apache-http-legacy-pro:-SNAPSHOT'

Details

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.zip

You can find out proguard.txt.

See Also

Libraries

Credit

License

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.