Skip to content

Instantly share code, notes, and snippets.

@yangyi
Created December 26, 2015 15:41
Show Gist options
  • Save yangyi/df078b97ca254f32dcb4 to your computer and use it in GitHub Desktop.
Save yangyi/df078b97ca254f32dcb4 to your computer and use it in GitHub Desktop.
basic spring-boot project with lombok support build.gradle
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.1.RELEASE")
classpath "gradle.plugin.net.franz-becker:gradle-lombok:1.5"
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'net.franz-becker.gradle-lombok'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'org.slf4j:slf4j-simple:1.7.13'
compile 'com.google.guava:guava:17.0'
compile "org.springframework.boot:spring-boot-starter-web"
testCompile 'junit:junit:4.12'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment