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

Support for SBT v0.13 #37

Open
hawkw opened this issue Jul 18, 2015 · 5 comments
Open

Support for SBT v0.13 #37

hawkw opened this issue Jul 18, 2015 · 5 comments

Comments

@hawkw
Copy link

hawkw commented Jul 18, 2015

It says in the README file that SBT 0.13 is not currently supported. Is there a specific reason why this is the case?

I'd like to be able to use this plugin with a project that I believe also currently requires some v0.13-specific features. I'd be happy to fork the repo and take a crack at making it v0.13-compatible, but I'm not sure what exactly the issue is.

@philcali
Copy link
Owner

I'm assuming that note in the README exists solely because it remains unpublished. I just built it locally with no problem.

If the addSbtPlugin command is failing to resolve, then I would suggest using the plugin runtime dependency path in probject/project/Plugin.scala until it has been correctly published:

import sbt._
import Keys._

object Plugins extends Build {
  lazy val root = project.in(file(".")).dependsOn(lwjglPlugin)
  lazy val lwjglPlugin = uri("git://github.com/philcali/sbt-lwjgl-plugin.git")
}

I think only a few things have changed since 3.1.4, so I guess it's worthy of a minor version bump.

@hawkw
Copy link
Author

hawkw commented Jul 19, 2015

Ah, excellent, thank you! I'll see if it works for me.

@hawkw
Copy link
Author

hawkw commented Jul 19, 2015

Yup, it looks like addSbtPlugin doesn't resolve correctly, so I added it in project as you recommended. Everything appears to work correctly so far.

@nstoddard
Copy link

Is there any update on this? I'm having difficulties setting it up like @philcali suggested since I'm not very familiar with SBT, but I don't want to be stuck with Java 7 (older versions of SBT don't support Java 8).

@gaborigloi
Copy link

Hi @nstoddard , the following configuration worked for me, with sbt 0.13.11 (I added the plugin repository as described in the sbt documentation):

project/plugins.sbt

lazy val root = (project in file(".")).dependsOn(lwjglPlugin)
lazy val lwjglPlugin = uri("git://github.com/philcali/sbt-lwjgl-plugin")

build.sbt

seq(lwjglSettings: _*)

Hope this helps.

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

4 participants