This repository has been archived on 2022-07-05. You can view files and clone it, but cannot push or open issues/pull-requests.
steleks_backend/build.gradle

28 lines
1.2 KiB
Groovy

buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
task cleanAll(dependsOn: [':config_server:clean', ':eureka-service:clean', ':events:clean', ':teams:clean', ':users:clean', ':steleks-proxy:clean'])
task startConfigServer(dependsOn: [':config_server:bootRun'])
task startEurekaService(dependsOn: [':eureka-service:bootRun'])
task startMicroservices(dependsOn: [':events:bootRun', ':teams:bootRun', ':users:bootRun', ':steleks-proxy:build'])
task runAll(dependsOn: ['cleanAll', 'startConfigServer', 'startEurekaService', 'startMicroservices'])
startConfigServer.mustRunAfter cleanAll
task buildConfigServer(dependsOn: [':config_server:build'])
task buildEurekaService(dependsOn: [':eureka-service:build'])
task buildMicroservices(dependsOn: [':events:build', ':teams:build', ':users:build', ':steleks-proxy:build'])
task stage(dependsOn: ['cleanAll', 'buildConfigServer', 'buildEurekaService', 'buildMicroservices'])
buildConfigServer.mustRunAfter cleanAll
buildEurekaService.mustRunAfter buildConfigServer
buildMicroservices.mustRunAfter buildEurekaService