Skip to content

Development

SEU-as-Code edited this page Aug 1, 2015 · 2 revisions

Language

Most of the plugins are implemented in Groovy, currently against version 2.3.10. Technically, it is of course possible to implement a plugin in Java.

The plugin code should be developed to be compatible with JDK6. The sourceCompatibility and the targetCompatibility are set to 1.6 by default.

Licensing

All source files should begin with the proper license header. The plugins are provided under the Apache License, Version 2.0 license. See the LICENSE file for details. You do not need to insert the header manually, instead use the license-gradle-plugin tasks:

gradlew :seuac-base-plugin:licenseFormat

Building

For building the SEU as Code plugins, please use the provided Gradle wrapper. The build is multi-project. If you intend to build a plugin individually, you can issue something like:

gradlew :seuac-base-plugin:build

Testing

All unit and integration tests for a plugin should be implemented using the Spock framework. The required test dependencies (Junit, Spock, Hamcrest) are provided to all subprojects by the master build file.

Clone this wiki locally