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