Skip to content

Commit cc6afe9

Browse files
authored
Adding maven instructions
1 parent 9c0062f commit cc6afe9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,31 @@ A Scala compiler plugin to give patterns and for-comprehensions the love they de
77

88
## Getting started
99
The plugin is available on Maven Central.
10+
11+
### sbt
12+
1013
```sbt
1114
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1")
1215
```
16+
17+
### maven
18+
19+
```xml
20+
<plugin>
21+
<groupId>net.alchim31.maven</groupId>
22+
<artifactId>scala-maven-plugin</artifactId>
23+
<configuration>
24+
<compilerPlugins>
25+
<compilerPlugin>
26+
<groupId>com.olegpy</groupId>
27+
<artifactId>better-monadic-for_2.13</artifactId>
28+
<version>0.3.1</version>
29+
</compilerPlugin>
30+
</compilerPlugins>
31+
</configuration>
32+
</plugin>
33+
```
34+
1335
Supports Scala 2.11, 2.12, and 2.13.1
1436

1537
<details>

0 commit comments

Comments
 (0)