@@ -4,13 +4,11 @@ import scalajslib._
4
4
import scalanativelib ._
5
5
import publish ._
6
6
7
- val scala212 = " 2.12.11 "
8
- val scala213 = " 2.13.3 "
7
+ val scala212 = " 2.12.13 "
8
+ val scala213 = " 2.13.4 "
9
9
10
10
val crossVersions = Seq (scala212, scala213)
11
11
12
- def acyclicVersion (scalaVersion : String ) = if (scalaVersion.startsWith(" 2.11." )) " 0.1.8" else " 0.2.0"
13
-
14
12
object autowire extends Module {
15
13
object jvm extends Cross [autowireJvmModule](crossVersions:_* )
16
14
class autowireJvmModule (val crossScalaVersion : String ) extends AutowireModule {
@@ -19,25 +17,25 @@ object autowire extends Module{
19
17
20
18
object js extends Cross [autowireJsModule](crossVersions:_* )
21
19
class autowireJsModule (val crossScalaVersion : String ) extends AutowireModule with ScalaJSModule {
22
- def scalaJSVersion = " 1.2 .0"
20
+ def scalaJSVersion = " 1.4 .0"
23
21
object test extends CommonTestModule with Tests
24
22
}
25
23
26
- object native extends Cross [autowireNativeModule](" 2.11.12 " )
24
+ object native extends Cross [autowireNativeModule](crossVersions :_* )
27
25
class autowireNativeModule (val crossScalaVersion : String ) extends AutowireModule with ScalaNativeModule {
28
- def scalaNativeVersion = " 0.4.0-M2 "
26
+ def scalaNativeVersion = " 0.4.0"
29
27
object test extends CommonTestModule with Tests
30
28
}
31
29
}
32
30
33
31
trait AutowireModule extends CrossScalaModule with PublishModule {
34
- def scalacPluginIvyDeps = Agg (ivy " com.lihaoyi::acyclic: ${acyclicVersion(scalaVersion())} " )
32
+ def scalacPluginIvyDeps = Agg (ivy " com.lihaoyi::acyclic:0.2.0 " )
35
33
def compileIvyDeps = Agg (
36
- ivy " com.lihaoyi::acyclic: ${acyclicVersion(scalaVersion())} " ,
34
+ ivy " com.lihaoyi::acyclic:0.2.0 " ,
37
35
ivy " org.scala-lang:scala-reflect: ${scalaVersion()}"
38
36
)
39
37
def artifactName = " autowire"
40
- def publishVersion = " 0.3.2 "
38
+ def publishVersion = " 0.3.3 "
41
39
def pomSettings = PomSettings (
42
40
description = artifactName(),
43
41
organization = " com.lihaoyi" ,
@@ -62,13 +60,13 @@ trait AutowireModule extends CrossScalaModule with PublishModule{
62
60
trait CommonTestModule extends ScalaModule with TestModule {
63
61
def ivyDeps = T { super .ivyDeps() ++
64
62
Agg (
65
- ivy " com.lihaoyi::utest::0.7.4 " ,
66
- ivy " com.lihaoyi::upickle::1.1.0 "
63
+ ivy " com.lihaoyi::utest::0.7.7 " ,
64
+ ivy " com.lihaoyi::upickle::1.2.3 "
67
65
)
68
66
}
69
- def scalacPluginIvyDeps = Agg (ivy " com.lihaoyi::acyclic: ${acyclicVersion(scalaVersion())} " )
67
+ def scalacPluginIvyDeps = Agg (ivy " com.lihaoyi::acyclic:0.2.0 " )
70
68
def compileIvyDeps = Agg (
71
- ivy " com.lihaoyi::acyclic: ${acyclicVersion(scalaVersion())} " ,
69
+ ivy " com.lihaoyi::acyclic:0.2.0 " ,
72
70
ivy " org.scala-lang:scala-reflect: ${scalaVersion()}"
73
71
)
74
72
def testFrameworks = Seq (" utest.runner.Framework" )
0 commit comments