You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Scala 2.12.x and 2.13.4 and older you need to use the old version `"1.1.4"`.
44
+
For Scala 2.12.x and 2.13.4 and older you need to use the old version `"1.1.4"` of `introprog`.
45
45
46
46
47
47
### Manual download
48
48
49
49
Download the latest jar-file from here: https://github.com/lunduniversity/introprog-scalalib/releases
50
50
51
-
Or from Maven central here: https://search.maven.org/search?q=a:introprog*
51
+
Or from Scaladex here: https://index.scala-lang.org/lunduniversity/introprog-scalalib
52
52
53
-
Or get any version from here: https://repo1.maven.org/maven2/se/lth/cs/
53
+
Or search Maven central here: https://search.maven.org/search?q=a:introprog*
54
54
55
-
Put the jar-file on your classpath when you run the Scala REPL, for example:
56
-
```
57
-
> scala -cp introprog_3-1.1.5.jar
58
-
scala> val w = new introprog.PixelWindow()
59
-
scala> w.fill(100,100,100,100,java.awt.Color.red)
60
-
scala>
61
-
```
62
-
Put the jar-file on your classpath when you run your Scala app, for example:
63
-
```
64
-
> scala -cp "introprog_3-1.1.5.jar:." Main
65
-
```
66
-
If on Windows cmd/powershell use `;` instead of `:` before the period.
55
+
Or download any version directly from Maven here: https://repo1.maven.org/maven2/se/lth/cs/
56
+
57
+
Put the latest introprog jar-file in your sbt project in a subfolder called `lib`. In your `build.sbt` you only need `scalaVersion := "3.0.1"` without a library dependency to introprog, as `sbt` automatically put jars in lib on your classpath.
67
58
68
59
## How to build introprog-scalalib
60
+
69
61
With [`sbt`](https://www.scala-sbt.org/download.html) and [`git`](https://git-scm.com/downloads) on your path type in terminal:
0 commit comments