Skip to content

Instantly share code, notes, and snippets.

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