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