Ragememes in a jar

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

License

License

GroupId

GroupId

com.github.rahulsom
ArtifactId

ArtifactId

ragememes-svg
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

https://github.com/rahulsom/ragememes
Source Code Management

Source Code Management

https://github.com/rahulsom/ragememes

Download ragememes-svg

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.rahulsom/ragememes-svg/ -->
<dependency>
    <groupId>com.github.rahulsom</groupId>
    <artifactId>ragememes-svg</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rahulsom/ragememes-svg/
implementation 'com.github.rahulsom:ragememes-svg:0.1'
// https://jarcasting.com/artifacts/com.github.rahulsom/ragememes-svg/
implementation ("com.github.rahulsom:ragememes-svg:0.1")
'com.github.rahulsom:ragememes-svg:jar:0.1'
<dependency org="com.github.rahulsom" name="ragememes-svg" rev="0.1">
  <artifact name="ragememes-svg" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rahulsom', module='ragememes-svg', version='0.1')
)
libraryDependencies += "com.github.rahulsom" % "ragememes-svg" % "0.1"
[com.github.rahulsom/ragememes-svg "0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.1