Skip to content

Instantly share code, notes, and snippets.

@robfletcher
Created May 16, 2012 08:12
Show Gist options
  • Save robfletcher/2708607 to your computer and use it in GitHub Desktop.
Save robfletcher/2708607 to your computer and use it in GitHub Desktop.
Template Gradle build for projects using Groovy with embedded vert.x
apply plugin: 'groovy'
repositories {
mavenCentral()
// vertxHome must be defined in gradle.properties
flatDir { dirs "${vertxHome}/lib/jars" }
}
dependencies {
groovy 'org.codehaus.groovy:groovy:1.8.6'
testCompile 'org.spockframework:spock-core:0.6-groovy-1.8'
// jars from ${vertxHome}/lib/jars
compile ':vert.x-core'
runtime ':netty'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment