heroku-addons
🔍 Heroku add-ons utilities.
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