Skip to content

Commit 96af417

Browse files
authored
Merge pull request #236 from dn-mib/documentprovided
Document provided scope dependency on scala-reflect
2 parents 55c363d + e608e29 commit 96af417

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ For sbt projects add the following to your build definition - build.sbt or proje
1111

1212
```scala
1313
libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.10.0"
14+
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % Provided
1415
```
1516

1617
For Maven projects add the following to your <dependencies> (make sure to use the correct Scala version suffix
@@ -22,6 +23,12 @@ to match your project’s Scala binary version):
2223
<artifactId>scala-async_2.12</artifactId>
2324
<version>0.10.0</version>
2425
</dependency>
26+
<dependency>
27+
<groupId>org.scala-lang</groupId>
28+
<artifactId>scala-reflect</artifactId>
29+
<version>2.12.10</version>
30+
<scope>provided</scope>
31+
</dependency>
2532
```
2633

2734
After adding scala-async to your classpath, write your first `async` block:

0 commit comments

Comments
 (0)