heroku-addons

Heroku add-ons utilities.

License

License

Categories

Categories

Heroku Container PaaS Providers
GroupId

GroupId

moe.pine
ArtifactId

ArtifactId

heroku-addons
Last Version

Last Version

0.3.3
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

heroku-addons
Heroku add-ons utilities.
Project URL

Project URL

https://github.com/pine/heroku-addons
Source Code Management

Source Code Management

https://github.com/pine/heroku-addons

Download heroku-addons

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.

heroku-addons

Build Status codecov Maven Central

🔍 Heroku add-ons utilities.


© Leung Cho Pan/123RF.COM

Requirements

  • Java 8 or later
    • Android Java has not been supported, because the add-on is for server apps on Heroku

Getting started

The library is published to Maven Central. Please replace $latest_version below with the actual version.

repositories {
    mavenCentral()
}

depepdencies {
    implementation "moe.pine:heroku-addons:$latest_version"
}

Notes on the old versions

The old versions < 0.3.2 had been published to jcenter, but jcenter is scheduled to end.

Please use the newer versions that are published to Maven Central.

Supported add-ons

Don' you find what you need? We look forward to your contribution 😄

Usage

If you want to use Heroku Redis add-on, please use the code as following.

import moe.pine.heroku.addons.HerokuRedis;

final HerokuRedis redis = HerokuRedis.get();
if (redis != null) {
    System.out.println("Host     : " + redis.getHost());
    System.out.println("Password : " + redis.getPassword());
    System.out.println("Port     : " + redis.getPort());
}

Development

Test

$ ./gradlew clean test

Upload Maven Central

$ ./gradlew clean publish

License

MIT © Pine Mizune

Versions

Version
0.3.3
0.3.2