zengularity / benji   2.2.2

Apache License 2.0 Website GitHub

:file_folder: This library is a Scala reactive DSL for object storage (e.g. S3/Amazon, S3/CEPH, Google Cloud Storage).

Scala versions: 3.x 2.13 2.12 2.11

Benji

This library is a Scala framework for Object Storage (e.g. S3/Amazon, S3/CEPH, Google Cloud Storage).

Build

The project is using SBT, so to build it from sources the following command can be used.

./project/build.sh

CircleCI Maven Javadocs

The environment variable PLAY_VERSION can be set to build the play module appropriately.

Setup

The operations to manage the buckets are available on the ObjectStorage instance, using BucketRef (bucket remote reference).

See also: Setup

Usage

Release

To prepare a new release the following command must be used.

sbt release

Publish release

To publish a release on Maven Central, use the following steps.

  • Build artifacts: ./project/build.sh
  • Publish all modules: ./project/deploy.sh <version> <pgp-key>
  • Publish only play modules:
export SCALA_MODULES="play:benji-play"
./project/deploy.sh <version> <pgp-key>

Publish snapshot

Execute ./project/snapshot.sh