elasticmq-plugin

elasticmq-plugin is a Gradle plugin for launching ElasticMq during a build

License

License

GroupId

GroupId

com.shazam
ArtifactId

ArtifactId

elasticmq-plugin
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

elasticmq-plugin
elasticmq-plugin is a Gradle plugin for launching ElasticMq during a build
Project URL

Project URL

https://github.com/shazam/elasticmq-gradle-plugin
Source Code Management

Source Code Management

https://github.com/shazam/elasticmq-gradle-plugin

Download elasticmq-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/com.shazam/elasticmq-plugin/ -->
<dependency>
    <groupId>com.shazam</groupId>
    <artifactId>elasticmq-plugin</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.shazam/elasticmq-plugin/
implementation 'com.shazam:elasticmq-plugin:0.1'
// https://jarcasting.com/artifacts/com.shazam/elasticmq-plugin/
implementation ("com.shazam:elasticmq-plugin:0.1")
'com.shazam:elasticmq-plugin:jar:0.1'
<dependency org="com.shazam" name="elasticmq-plugin" rev="0.1">
  <artifact name="elasticmq-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.shazam', module='elasticmq-plugin', version='0.1')
)
libraryDependencies += "com.shazam" % "elasticmq-plugin" % "0.1"
[com.shazam/elasticmq-plugin "0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.0
org.elasticmq : elasticmq-core_2.11 jar 0.8.2
org.elasticmq : elasticmq-rest-sqs_2.11 jar 0.8.2

Project Modules

There are no modules declared in this project.

ElasticMQ Gradle Plugin

This is a Gradle plugin that enables the starting/stopping of an ElasticMQ instance for the purposes of testing

Usage

buildscript {
	repositories {
		mavenCentral()
	}

	dependencies {
		classpath "com.shazam.elasticmq-plugin:0.1"
	}
}

apply plugin: 'elasticmq'

The ElasticMQ server will be automatically terminated upon exit of the Gradle script.

Tasks

This plugin adds two tasks:

startElasticMq
runElasticMq

startElasticMq will bring up the server in the background. runElasticMq will bring up the server and wait until the script is killed. This is useful when you just want to run the server, perhaps while running tests in your IDE.

Configuration

The port ElasticMQ will use can be configured through the elasticmq project extension, for example the following snippet will start on port 9320:

apply plugin: 'elasticmq'

elasticmq {
	port = 9320
}

If no port number is specified, the default of 9000 will be used

Project Status

The current stable version is 0.1 and is available from Maven central as 'com.shazam:elasticmq-plugin:0.1'

com.shazam

Shazam

Versions

Version
0.1