Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active February 9, 2016 14:21
Show Gist options
  • Save codeaholicguy/acbb42e0591134b02bb4 to your computer and use it in GitHub Desktop.
Save codeaholicguy/acbb42e0591134b02bb4 to your computer and use it in GitHub Desktop.
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