Skip to content

Instantly share code, notes, and snippets.

@finsterthecat
Created January 5, 2018 22:03
Show Gist options
  • Save finsterthecat/5003b63113fe98598e9df85356cbb2c4 to your computer and use it in GitHub Desktop.
Save finsterthecat/5003b63113fe98598e9df85356cbb2c4 to your computer and use it in GitHub Desktop.
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
group = 'io.navan'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-data-rest')
runtime('com.h2database:h2')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment