Skip to content

Instantly share code, notes, and snippets.

@gigenthomas
Created October 17, 2015 16:01
Show Gist options
  • Save gigenthomas/7659b684b708a1ee497c to your computer and use it in GitHub Desktop.
Save gigenthomas/7659b684b708a1ee497c to your computer and use it in GitHub Desktop.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.6.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
jar {
baseName = 'gs-accessing-data-rest'
version = '0.1.0'
}
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile("org.springframework.boot:spring-boot-starter-data-rest")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile "org.springframework.boot:spring-boot-starter-security"
//compile("com.h2database:h2")
runtime('org.postgresql:postgresql:9.4-1201-jdbc41')
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment