To implement the dependencies, you need to put the following code in build.gradle:
dependencies {
implementation 'org.springframework.security:[Spring_Security_SUB_Module_Name]:CURRENT_RELEASE_VERSION'
}
// here is an example of a security core sub-modules
dependencies {
implementation 'org.springframework.security:[spring-security-core]:5.1.1.RELEASE'
}