Skip to content

Instantly share code, notes, and snippets.

@aglassman
Created February 9, 2016 15:23
Show Gist options
  • Save aglassman/0a1c7c8bd327877109f9 to your computer and use it in GitHub Desktop.
Save aglassman/0a1c7c8bd327877109f9 to your computer and use it in GitHub Desktop.
buildscript {
ext {
springBootVersion = '1.3.2.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
jar {
baseName = 'spring-data-neo4j-demo'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.data:spring-data-neo4j:4.0.0.RELEASE')
compile('org.springframework.boot:spring-boot-starter-data-rest')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.9'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment