com.github.rahulsom:ragememes-png-large

Rage Memes packaged as a jar files for easy inclusion in java projects


Keywords
maven, ragememes
Licenses
Apache-2.0/libpng-2.0

Documentation

Ragememes

Java library to provide ragememes as classpath resources.

Description

Very often you find yourself needing to express something using a Rage Meme. If you were trying to write Java code to do that, you’ll find that there aren’t any libraries that allow you to do that easily.

This project aims to solve that problem. Now you can use Rage Memes in your code from the comfort of your IDE. You get static compilation too.

Usage

  1. Include Library

dependencies {
  // ...
  compile 'com.github.rahulsom:ragememes-png-large:+'
}
  1. Get the resource corresponding to the meme you want

import com.github.rahulsom.ragememes.png.large.LargePngRageMemes;
// ...
  InputStream stream = this.getClass().getClassLoader()
        .getResourceAsStream(LargePngRageMemes.cereal_guy_newspaper_guy_l);
  1. Profit

Details

There are 4 subprojects - png-small, png-medium, png-large and svg. You can import all 4 projects using the meta project all.

Releasing a new version

./gradlew uploadArchives
./gradlew closeAndPromoteRepository