Integration - aaabidunique/prettify-size GitHub Wiki

Including in your project

prettify-size is made available through jitpack.io.

There is mainly two way to integrate this plugin.

Using pom for fetching dependency from jitpack.io

Use pom based repository for fetching plugin i.e

  1. Add this in your pom.xml
<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

Using proxy repository in private nexus repository

  1. If you are using private nexus repository then,
    2.1. Add https://jitpack.io as a new maven2 (proxy) repository in Nexus.
    2.2. Add that repository to Maven-public group.

At last add plugin in your pom.xml

JitPack

Add this to your pom.xml file (make sure to change LATEST with the version in the JitPack badge above):

    <dependency>
		<groupId>com.github.aaabidunique</groupId>
		<artifactId>prettify-size</artifactId>
		<version>LATEST</version>
	</dependency>

or Add this to your build.gradle file (make sure to change LATEST with the version in the JitPack badge above):

    compile 'com.github.aaabidunique:prettify-size:LATEST'
⚠️ **GitHub.com Fallback** ⚠️