Skip to content

Instantly share code, notes, and snippets.

@sjyun
Created July 27, 2019 07:56
Show Gist options
  • Save sjyun/bfa941671f95467a264b66d8c46b93da to your computer and use it in GitHub Desktop.
Save sjyun/bfa941671f95467a264b66d8c46b93da to your computer and use it in GitHub Desktop.
cloud gateway build.gradle
plugins {
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'java'
id "io.spring.dependency-management" version "1.0.6.RELEASE"
}
dependencyManagement {
imports {
mavenBom "io.projectreactor:reactor-bom:Bismuth-RELEASE"
}
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example.boot'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', 'Greenwich.RELEASE')
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-config-server'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
implementation group: 'org.modelmapper', name: 'modelmapper', version: '2.3.5'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.8'
implementation 'io.projectreactor:reactor-core'
//implementation group: 'io.projectreactor', name: 'reactor-core', version: '3.2.10.RELEASE'
//implementation group: 'io.projectreactor', name: 'reactor-test', version: '3.2.10.RELEASE'
//implementation group: 'org.reactivestreams', name: 'reactive-streams', version: '1.0.2'
compileOnly 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment