isabella232 / atlas-plugins

a Base gradle plugin for atlas gradle plugin development

Home Page:https://wooga.github.io/atlas-plugins/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atlas-plugins

Wooga Internal Gradle Plugin ID Build Status Coveralls Status Apache 2.0 GitHub tag GitHub release

Plugin to establish conventions for a atlas gradle plugins. This plugin is used to help setup our other plugins.

Usage

build.gradle

plugins {
  id "net.wooga.unity" version "1.2.0"
}

It applies the following plugins:

  • 'groovy'
  • 'idea'
  • 'publish'
  • 'plugin-publish'
  • 'nebular.release'
  • 'jacoco'
  • 'com.github.kt3k.coveralls'
  • 'net.wooga.github'
  • 'maven-publish'

Testing/Development

The resulting project structure is prepared as a normal groovy gradle plugin. Additional to the normal test task the plugin also adds a integrationTest task with code coverage and reporting. As test framework Spock will be added to the classpath. The jocoo plugin is used for code coverage. The integration test results are merged with the unit test results. All our plugins push the coverage report to coveralls. The coveralls plugin is connected to jacoco and only needs the COVERALLS_TOKEN in the environment. The plugin will also generate an idea project with the integration tests configured as seperate module.

Publish/Release

The project uses Nebular Release for the release and publish cycle. The tasks final and candidate will publish the plugin to the gradle plugins repository with the help of the plugin-publish plugin and create a formal gitub release with the net.wooga.github plugin. The snapshot task will only publish to the local maven repository.

Documentation

Gradle and Java Compatibility

Tested with openJDK8

Gradle Version Works
< 5.0 ![no]
5.0 ![yes]
5.1 ![yes]
5.2 ![yes]
5.3 ![yes]
5.4 ![yes]
5.5 ![yes]
5.6 ![yes]
5.6 ![yes]
6.0 ![yes]
6.1 ![yes]
6.2 ![yes]
6.3 ![yes]
6.4 ![yes]
6.5 ![yes]
6.6 ![yes]
6.6 ![yes]
6.7 ![yes]
6.8 ![yes]
6.9 ![yes]
7.0 ![yes]

Development

Code of Conduct

LICENSE

Copyright 2017 Wooga GmbH

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.

About

a Base gradle plugin for atlas gradle plugin development

https://wooga.github.io/atlas-plugins/

License:Apache License 2.0


Languages

Language:Groovy 98.3%Language:Shell 1.7%