Skip to content

Instantly share code, notes, and snippets.

@tomaslin
Created January 21, 2013 16:53
Show Gist options
  • Save tomaslin/4587403 to your computer and use it in GitHub Desktop.
Save tomaslin/4587403 to your computer and use it in GitHub Desktop.
package com.example.helloworld;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
@Produces(MediaType.APPLICATION_JSON)
public class HelloWorldService{
}
// ---- Build.gradle ----
apply plugin: 'groovy'
// Set our project variables
project.ext {
dropwizardVersion = '0.6.1'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.yammer.dropwizard', name: 'dropwizard-core', version: dropwizardVersion
groovy group: 'org.codehaus.groovy', name: 'groovy-all', version: '1.8.7'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.3'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment