Skip to content
This repository has been archived by the owner on Apr 9, 2018. It is now read-only.

agorapulse/grails-s3-resources

Repository files navigation

S3 Grails Plugin

Introduction

The S3 Plugin allows to push Grails resources to Amazon S3.

Installation

Declare the plugin dependency in the BuildConfig.groovvy file, as shown here:

grails.project.dependency.resolution = {
		inherits("global") { }
		log "info"
		repositories {
				//your repositories
		}
		dependencies {
				// Workaround to resolve dependency issue with aws-java-sdk and http-builder (dependent on httpcore:4.0)
                build 'org.apache.httpcomponents:httpcore:4.1'
                build 'org.apache.httpcomponents:httpclient:4.1'
                runtime 'org.apache.httpcomponents:httpcore:4.1'
                runtime 'org.apache.httpcomponents:httpclient:4.1'
		}
		plugins {
				//here go your plugin dependencies
				runtime ':s3-resources:1.4.7'
		}
}

Config

grails {
    resources {        
        s3 {
            accessKey = {ACCESS_KEY}
            secretKey = {SECRET_KEY}
            bucket = 'mybucket.domain.com'
            region = 'eu-west-1'
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages