Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Unresolvable dependency in 2.12 / 1.1.0 release #30

Closed
elkozmon opened this issue Nov 25, 2017 · 2 comments
Closed

Unresolvable dependency in 2.12 / 1.1.0 release #30

elkozmon opened this issue Nov 25, 2017 · 2 comments

Comments

@elkozmon
Copy link

elkozmon commented Nov 25, 2017

Hi, I am using playwarts version 1.1.0 for scala 2.12, sbt 1.0.2.

addSbtPlugin("org.danielnixon" % "sbt-playwarts" % "1.1.0")

When I try to build my project, it fails with this:

[error] (core/*:update) sbt.librarymanagement.ResolveException: unresolved dependency: org.danielnixon#playwarts_2.12;1.1.0-SNAPSHOT: not found

Then I looked for playwarts jar in my .ivy2 cache:

-rw-r--r-- 1 elkozmon users 12215 Oct  7 03:04 /home/elkozmon/.ivy2/cache/scala_2.12/sbt_1.0/org.danielnixon/sbt-playwarts/jars/sbt-playwarts-1.1.0.jar

I noticed that you use version for auto import provided by build info sbt plugin, so I decompiled BuildInfo.class in that jar using jad, and found this inside:

private final String version = "1.1.0-SNAPSHOT";
private final String organization = "org.danielnixon";
private final String artifactID = "playwarts";

I guess that snapshot version must have accidentally slipped through there.

@danielnixon
Copy link
Owner

Looks like I'm hitting a limitation in sbt-release. Please try playwarts version 1.1.2.

@elkozmon
Copy link
Author

elkozmon commented Nov 26, 2017

Ok so I switched to 1.1.2 and it's working fine :) thanks

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

No branches or pull requests

2 participants