2020-08-18 22:23:08 +07:00
|
|
|
if (!project.hasProperty("springVersion")) {
|
2021-02-12 08:23:05 +07:00
|
|
|
ext.springVersion = "5.3.3"
|
2020-08-18 22:23:08 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!project.hasProperty("springSecurityVersion")) {
|
2021-03-12 20:24:15 +07:00
|
|
|
ext.springSecurityVersion = "5.4.5"
|
2020-08-18 22:23:08 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!project.hasProperty("reactorVersion")) {
|
2021-02-12 08:25:08 +07:00
|
|
|
ext.reactorVersion = "2020.0.3"
|
2020-08-18 22:23:08 +07:00
|
|
|
}
|
|
|
|
|
2020-08-20 03:31:01 +07:00
|
|
|
if (!project.hasProperty("locksDisabled")) {
|
|
|
|
dependencyLocking {
|
|
|
|
lockAllConfigurations()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-24 02:37:17 +07:00
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
2020-08-18 22:23:08 +07:00
|
|
|
mavenBom "org.springframework:spring-framework-bom:$springVersion"
|
|
|
|
mavenBom "org.springframework.security:spring-security-bom:$springSecurityVersion"
|
|
|
|
mavenBom "io.projectreactor:reactor-bom:$reactorVersion"
|
2021-01-16 00:54:49 +07:00
|
|
|
mavenBom "com.fasterxml.jackson:jackson-bom:2.12.0"
|
2020-04-24 02:37:17 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-02-12 08:28:50 +07:00
|
|
|
dependency "javax.servlet:javax.servlet-api:4.0.1"
|
2021-02-12 08:31:35 +07:00
|
|
|
dependency 'junit:junit:4.13.1'
|
2021-02-12 08:33:24 +07:00
|
|
|
dependency 'org.assertj:assertj-core:3.18.1'
|
2021-02-12 08:34:24 +07:00
|
|
|
dependency 'org.mockito:mockito-core:3.6.28'
|
2021-02-12 08:35:37 +07:00
|
|
|
dependency "com.squareup.okhttp3:mockwebserver:3.14.9"
|
2021-02-12 08:36:51 +07:00
|
|
|
dependency "com.squareup.okhttp3:okhttp:3.14.9"
|
2021-02-12 08:37:50 +07:00
|
|
|
dependency "com.jayway.jsonpath:json-path:2.4.0"
|
2020-04-24 02:37:17 +07:00
|
|
|
}
|
|
|
|
}
|