As currently i am changing version for square java sdk to latest which is 20.1.0.20220616
and current version i am using is 2.20190313.0
so, after dependency resolve in pom.xml it is giving below error message
Cannot resolve com.squareup:connect:20.1.0.20220616
can someone please help me to update my square sdk which is latest and stable ?
also note my pom has below code
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
A little bit of Googling tells me there is an old obsolete library named 'connect' and a replacement which is named 'square'.
https://developer.squareup.com/docs/sdks/java/quick-start
So use the artifactId 'square', which is indeed in maven central.
Disclaimer: I fully expect that your code will no longer compile after that change. They rarely ever decide to make a new library and keep it backwards compatible.