Skip to content

Nike-Inc/gradle-localdynamodb-plugin

Repository files navigation

Local DynamoDB Gradle Plugin

Build Status Download Coverage Status

Add to the Classpath of Gradle Build Script

Add the library gradle-localdynamodb-plugin' to the classpath of gradle build script

    dependencies {
        classpath 'com.nike.localdynamodb:gradle-localdynamodb-plugin:0.2-SNAPSHOT'
    }

Please configure correct repositories as well.

Apply Plugin

apply plugin: 'com.nike.localdynamodb'

Provided Tasks

The plugin adds the following tasks by default.

  • dynamoStart : Starts a dynamo server running in the background on the given port

  • dynamoRun : Runs dynamo in a blocking fashion

  • dynamoStop : Starts a dynamo server running in the background on the given port

  • dynamoCopyNativeDependencies : Copies all dylib, so, and dll files on the classpath. Specifically needed for Local DynamoDB with SQLLite.

Configurations

The configuration block is called "cloudformation" and accepts the following configurations:

Property Name Description Default Value
dynamoPort The port for the Local DynamoDB server 7999
libraryPath Where native libraries are copied build/libs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published