Skip to content

Instantly share code, notes, and snippets.

@danielshaya
Created March 9, 2015 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielshaya/928e6f19de5b67a8087c to your computer and use it in GitHub Desktop.
Save danielshaya/928e6f19de5b67a8087c to your computer and use it in GitHub Desktop.
Gradle build file for rest server
apply plugin: 'java'
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version: '2.7'
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet-core', version: '2.7'
compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-jetty-http', version: '2.7'
compile group: 'org.glassfish.jersey.media', name: 'jersey-media-moxy', version: '2.7'
compile group: 'org.eclipse.jetty.aggregate', name: 'jetty-all', version: '9.3.0.M1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment