Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sbt dependency instructions are wrong #8

Open
hibikir opened this issue May 26, 2015 · 1 comment
Open

Sbt dependency instructions are wrong #8

hibikir opened this issue May 26, 2015 · 1 comment

Comments

@hibikir
Copy link

hibikir commented May 26, 2015

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.

@Dominik-K
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants