Skip to content

Instantly share code, notes, and snippets.

@tyama
Created August 1, 2014 10:28
Show Gist options
  • Save tyama/af6924a69c0c5e88834c to your computer and use it in GitHub Desktop.
Save tyama/af6924a69c0c5e88834c to your computer and use it in GitHub Desktop.
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'idea'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1+')
classpath("org.springframework:springloaded:1+")
}
}
repositories {
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("com.h2database:h2")
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("junit:junit")
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment