Created
January 21, 2013 16:53
-
-
Save tomaslin/4587403 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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