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

How to install the latest version of scrimage? #20

Closed
lbdremy opened this issue Dec 12, 2013 · 4 comments
Closed

How to install the latest version of scrimage? #20

lbdremy opened this issue Dec 12, 2013 · 4 comments
Assignees

Comments

@lbdremy
Copy link

lbdremy commented Dec 12, 2013

Hello,

I'm trying to install scrimage with sbt so I declared this in my file Build.scala
but it seems to install only a folder containing pom files no jars folder inside.

val appDependencies = Seq(
"com.sksamuel.scrimage" % "scrimage" % "1.3.3"
)

What should I do to have the jars?

Thanks for your help

@sksamuel
Copy link
Owner

I don't think the parent project pulls in child projects like maven does. Try adding the dependencies separately:

inside build.sbt:

libraryDependencies += "com.sksamuel.scrimage" % "scrimage-core_2.10" % "1.3.11"

libraryDependencies += "com.sksamuel.scrimage" % "scrimage-filters_2.10" % "1.3.11"

or if you prefer Build.sbt

import sbt._
import Keys._

object Build extends sbt.Build {

  lazy val myproject = Project(
    "myproject",
    file("."),
    settings = Defaults.defaultSettings ++ Seq(libraryDependencies ++= Seq(
      "com.sksamuel.scrimage" % "scrimage-core_2.10" % "1.3.11",
      "com.sksamuel.scrimage" % "scrimage-filters_2.10" % "1.3.11"
    ))
  )
}

You only need the latter if you want the image filters, the former is enough for the image processing APIs.

@ghost ghost assigned sksamuel Dec 12, 2013
@lbdremy
Copy link
Author

lbdremy commented Dec 12, 2013

Hi @sksamuel ,

It works! Great thanks, nice lib by the way! 👍

@lbdremy lbdremy closed this as completed Dec 12, 2013
@sksamuel
Copy link
Owner

Thanks 👍

@medabme
Copy link

medabme commented Mar 18, 2019

Hi @sksamuel, thanks for this amazing library.
I'm beginner in Scala and i'm trying to apply filters to images, so i tried to use your libraries.
Of course i found several compiling problems when i tried to compile "scrimage-filters".

I need your help please!

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

3 participants