File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ For sbt projects add the following to your build definition - build.sbt or proje
1111
1212``` scala
1313libraryDependencies += " org.scala-lang.modules" %% " scala-async" % " 0.10.0"
14+ libraryDependencies += " org.scala-lang" % " scala-reflect" % scalaVersion.value % Provided
1415```
1516
1617For 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
2734After adding scala-async to your classpath, write your first ` async ` block:
You can’t perform that action at this time.
0 commit comments