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