Shield dependency in SBT

security

(Tomer Praizler) #1

Hey!

I am trying to import the shield dependency into my project (2.0.1).
My problem is that I am working with sbt, and I couldn't find how to import it.
I am using this as my reference : https://www.elastic.co/guide/en/shield/current/_using_elasticsearch_java_clients_with_shield.html#transport-client

I tried to add this to my resolvers:
"elasticsearch-releases" at "https://maven.elasticsearch.org/releases"
And this to my libraryDependencies:
"org.elasticsearch.plugin" %% "shield" % "2.0.1"

But it failed.
Thanks!


(Tomer Praizler) #2

So the solution was to use only one % like this:
"org.elasticsearch.plugin" % "shield" % "2.0.1"


(system) #3