plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
id 'com.google.cloud.tools.jib' version '1.8.0'
}
...
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
...
}
...
if(project.hasProperty('dev')) {
apply from: rootProject.file('profile_dev.gradle');
} else if(project.hasProperty('prod')) {
apply from: rootProject.file('profile_prod.gradle');
} else {
apply from: rootProject.file('profile_local.gradle');
}
view raw build.gradle hosted with ❤ by GitHub