39 lines
1.3 KiB
Groovy
39 lines
1.3 KiB
Groovy
plugins {
|
|
/* Used for generating version manifests for the applications */
|
|
id 'org.ajoberstar.grgit' version '1.6.0'
|
|
/* Used for rendering the documentation for the applications */
|
|
id 'org.asciidoctor.gradle.asciidoctor' version '1.5.1'
|
|
}
|
|
|
|
/* Application plugin for creating tarballs of our app */
|
|
apply plugin: 'application'
|
|
/* Groovy plugin sets up the tasks for building the Groovy app */
|
|
apply plugin: 'groovy'
|
|
/* Enforce code-style checks on the Groovy code */
|
|
apply plugin: 'codenarc'
|
|
|
|
|
|
/* Set some basic project properties */
|
|
version = '0.0.1'
|
|
group = 'io.lasagna'
|
|
description = 'HttpWizard is a simple application for playing with HTTP'
|
|
mainClassName = 'io.lasagna.httpwizard.HttpWizard'
|
|
/* Force our target compatibility to JDK8 always */
|
|
project.targetCompatibility = 1.8
|
|
/**********************************************************************/
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile localGroovy()
|
|
compile "io.dropwizard:dropwizard-core:${dropwizardVersion}"
|
|
|
|
// Declare the dependency for your favourite test framework you want to use in your tests.
|
|
// TestNG is also supported by the Gradle Test task. Just change the
|
|
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
|
|
// 'test.useTestNG()' to your build script.
|
|
testCompile 'junit:junit:4.12'
|
|
}
|