Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 41e71cd

Browse files
Added information how to add pulp to a project
1 parent 96d9188 commit 41e71cd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ Too much fructose is not good for your health, so you should remove
88
Guice from your diet. This small experimental project allows you to have
99
your fruity projects with no Guice.
1010

11+
## Adding to project
12+
13+
```scala
14+
libraryDependencies += "io.scalaland" %% "pulp" % pulpVersion
15+
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
16+
```
17+
18+
or if you cross-build with Scala.js
19+
20+
```scala
21+
libraryDependencies += "io.scalaland" %%% "pulp" % pulpVersion
22+
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
23+
```
24+
25+
Latest version can be checked on Maven and is displayed on the badge above.
26+
1127
## Motivation
1228

1329
I wanted to avoid runtime reflection based dependency injection

0 commit comments

Comments
 (0)