Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noamt/grails-jaxrs-spock

A complementary Grails plugin for the Grails JAX-RS plugin. Adds Spock test infrastructure
https://github.com/noamt/grails-jaxrs-spock

Last synced: 16 days ago
JSON representation

A complementary Grails plugin for the Grails JAX-RS plugin. Adds Spock test infrastructure

Awesome Lists containing this project

README

        

== JAX-RS Spock Plugin

Provides Spock specification support for the Grails JAX-RS plugin. +
These specification classes were once included in the Grails JAX-RS plugin, but were migrated to this module in order to
make the JAX-RS plugin more agnostic in terms of Grails/Groovy version compatibility.

=== Which version of the plugin do I need?

For different reasons (versions of Groovy, versions of Spock), the latest revisions of Grails require different versions of this plugin. +
Each series is marked by a suffix describing the supported version of Grails: +

[options="header"]
|=======================
|Supported Grails version|Required plugin version
|2.1.x and below |+$VERSION+-grails2.0
|2.2.x |+$VERSION+-grails2.2
|2.3.x |Bundled with the JAX-RS plugin
|=======================

The lastest available versions are:

* +0.0.1-grails2.0+
* +0.0.1-grails2.2+

=== How can I obtain the plugin?

Edit your project's +BuildConfig.groovy+ file by adding the plugin's dependency declaration:

----
grails.project.dependency.resolution = {
plugins {
compile ':jaxrs-spock:$VERSION'
}
}
----

== License

----
Copyright 2014 the original author or authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
----