Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active February 9, 2016 14:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
group 'com.codeaholicguy'
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.2.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'com.codeaholicguy.demo.Application'
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web:1.3.2.RELEASE'
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