Giter VIP home page Giter VIP logo

custom-gradle-plugin's Introduction

Shared Edina Gradle Plugin

Overview

This project defines a re-usable Gradle custom Plugin. The plugin provides sensible Edina specific configuration and for defined plugins. Each plugin used is defined below.

List of Plugins:

  • Java
  • War
  • Maven
  • JaCoCo
  • Checkstyle
  • PMD
  • JDepend
  • FindBugs

The above list of plugins are all documented at: http://gradle.org/docs/current/userguide/userguide_single.html

This custom plugin also sets default confuration for project properties e.g. The Java Compiler version (1.8). This can be overridden in specific project build.gradle file.

Integration Tests default to src/test/integTest to separate concerns.

The default Maven repositories to be used are:

Some dependencies should be used by all code, that list may be difficult to agree on but the current list is:

  • SLF4J 1.7.9
  • JUnit 4.11

The Maven Provided Scope is missing from the Java Plugin, so we need to provide it ourselves, this is called compileProvided. e.g.

compileProvided 'junit:junit:4.11'

The War Plugin provides this but isn't available for libraries as it creates a *.war, not a *.jar file. The syntax for War projects is:

providedCompile 'javax.servlet:javax.servlet-api:3.0.1'

The War Plugin also provides tasks to package the code into a WAR file.

custom-gradle-plugin's People

Watchers

 avatar  avatar  avatar

Forkers

sundaram66

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.