<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-core</artifactId>
<version>5.8.4</version>
</dependency>
libraryDependencies += "org.springframework.security" % "spring-security-oauth2-core" % "5.8.4"
@Grapes(
@Grab(group='org.springframework.security', module='spring-security-oauth2-core', version='5.8.4')
)
<dependency org="org.springframework.security" name="spring-security-oauth2-core" rev="5.8.4" />