Skip to content

Instantly share code, notes, and snippets.

@mohak1712
Last active March 9, 2020 03:18
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 mohak1712/6572161a51c1efcd335d724c4fbac219 to your computer and use it in GitHub Desktop.
Save mohak1712/6572161a51c1efcd335d724c4fbac219 to your computer and use it in GitHub Desktop.
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "5.2.0" // For creating jars
}
mainClassName = 'App'
dependencies {
compile 'com.orbitz.consul:consul-client:1.4.0' // Java client for consul http api
compile "com.sparkjava:spark-core:2.9.1" // Java http server using spark
testCompile 'junit:junit:4.12'
}
repositories {
jcenter()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment