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

error: not found: value slickSettings #41

Open
SrTobi opened this issue Apr 1, 2016 · 1 comment
Open

error: not found: value slickSettings #41

SrTobi opened this issue Apr 1, 2016 · 1 comment

Comments

@SrTobi
Copy link

SrTobi commented Apr 1, 2016

Hi,

I want to use Slick2D with sbt 0.13.8. I followed the readme as well as the wiki. But I always get the following error:

Error while importing SBT project:
[info] Loading project definition from C:\Users\---\slick2d-test\project\project
[info] Loading project definition from C:\Users\---\slick2d-test\project
C:\Users\---\slick2d-test\build.sbt:8: error: not found: value slickSettings
seq(slickSettings: _*)
    ^
[error] Type error in expression
Invalid response.

I thought the problem would be the version of sbt (0.13.8). So I tried the solution from #37.
But that doesn't change anything.

build.sbt:

name := "slick2d-test"

version := "1.0"

scalaVersion := "2.11.8"

seq(lwjglSettings: _*)
seq(slickSettings: _*)

project/plugins.sbt:

logLevel := Level.Warn

project/build.properties:

sbt.version = 0.13.8

project/project/Plugin.scala

import sbt._

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

Hi, I had a similar problem, and I managed to make it work with sbt 0.13.11.
I defined the plugin repository slightly differently, as described in the sbt documentation.
Also, it seems that slickSettings is inside the Slick2D object.
So sbt loaded the project without errors with this configuration:

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(Slick2D.slickSettings: _*)

But I still got an error "Host slick.cokeandcode.com not found" when it tried to compile it.

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