ohnosequences / sbt-s3-resolver

:cloud:Amazon S3-based resolver for sbt
GNU Affero General Public License v3.0
117 stars 29 forks source link

Option for Storage Class #35

Closed ambahk closed 7 years ago

ambahk commented 9 years ago

@ambahk:

Are there any options to use reduced redundancy storage? Thanks.

laughedelic commented 9 years ago

Hi @ambahk. We don't have this feature yet. But if you want to contribute to the project, take a look at the ohnosequences/ivy-s3-resolver project, there are internals of this plugin. Probably this pull-request can be useful as an example: https://github.com/ohnosequences/ivy-s3-resolver/pull/8

laughedelic commented 7 years ago

Hey @ambahk! Good news! (better late than never 😉 ) I added s3storageClass setting, so that you can set it like

s3storageClass := com.amazonaws.services.s3.model.StorageClass.ReducedRedundancy

Note, that there are some other options for setting StorageClass, besides standard and reduced-redundancy: docs

laughedelic commented 7 years ago

This feature is released in v0.17.0. Note, that sinse this version the plugin is published to Bintray and only for sbt-1.0. Check readme for usage.