slf4j-test icon indicating copy to clipboard operation
slf4j-test copied to clipboard

Sbt dependency instructions are wrong

Open hibikir opened this issue 9 years ago • 1 comments

I'd just give you a pull request, but I don't quite understand how the dependency page is being generated. It might be something done automatically for you, in which case, this can just remain as documentation.

The dependency page provides SBT instructions that would be appropriate for a scala library, but this being a java library, it makes sbt look for a dependency that doesn't exist.

the double percentage (%%) it suggests will try to append your version of scala to the dependency resolver, as Scala bytecode is not compatible between major versions. A java library should use a single percentage instead, and then the library will be found just fine.

hibikir avatar May 26 '15 14:05 hibikir

Thanks Jorge for the hint. Now it works for me, too. For copy&paste:

libraryDependencies += "uk.org.lidalia" % "slf4j-test" % "1.1.0"

Dominik-K avatar May 31 '16 12:05 Dominik-K