Skip to content

Instantly share code, notes, and snippets.

@pgilad
Created June 20, 2018 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgilad/18a393802657ab04881835619ebd94ee to your computer and use it in GitHub Desktop.
Save pgilad/18a393802657ab04881835619ebd94ee to your computer and use it in GitHub Desktop.
Modern build.gradle
buildscript {
ext {
springBootVersion = '2.0.2.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
plugins {
id 'java'
id 'idea'
id 'application'
id 'org.springframework.boot' version '2.0.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.5.RELEASE'
id 'io.franzbecker.gradle-lombok' version '1.14'
}
group = 'com.blazemeter'
version = '0.0.1-SNAPSHOT'
mainClassName = 'com.blazemeter.dataqueryservice.DataQueryServiceApplication'
sourceCompatibility = 9
targetCompatibility = 9
repositories {
mavenCentral()
}
springBoot {
buildInfo()
}
lombok {
version = '1.18.0'
sha256 = ''
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
compile 'org.springframework.boot:spring-boot-starter-webflux'
compile 'org.springframework.boot:spring-boot-starter-jetty'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.hdrhistogram:HdrHistogram:2.1.10'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'io.projectreactor:reactor-test'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment