I am tryng to use Jedis directly in my Ktor application. But I don't know how to implement it in build.gradle file. I tried this:
implementation 'redis.clients:jedis:3.4.0-SNAPSHOT'
But it doesn't work.
val jedis = Jedis("localhost") -> "unresoled reference Jedis" error.
Any help will be appreciated.
This works for me:
implementation 'redis.clients:jedis:3.4.0'
nested under dependencies
in the build.gradle fileimport redis.clients.jedis.Jedis
at the top of your code fileI tried using what you did, with 'SNAPSHOT' at the end, and it didn't work.