1
1
2
- crossScalaVersions := Seq (" 2.10.6" , " 2.11.8 " , " 2.12.0 " )
2
+ crossScalaVersions := Seq (" 2.10.6" , " 2.11.11 " , " 2.12.2 " , " 2.13.0-M1 " )
3
3
4
4
def macroDependencies (version : String ) =
5
5
Seq (
@@ -13,40 +13,31 @@ def macroDependencies(version: String) =
13
13
Seq ())
14
14
15
15
lazy val sourcecode = crossProject.settings(
16
- version := " 0.1.3 " ,
17
- scalaVersion := " 2.11.8 " ,
16
+ version := " 0.1.4 " ,
17
+ scalaVersion := " 2.11.11 " ,
18
18
name := " sourcecode" ,
19
19
organization := " com.lihaoyi" ,
20
20
libraryDependencies ++= macroDependencies(scalaVersion.value),
21
21
unmanagedSourceDirectories in Compile ++= {
22
22
CrossVersion .partialVersion(scalaVersion.value) match {
23
23
case Some ((2 , n)) if n >= 12 =>
24
- Seq (baseDirectory.value / " .." / " shared" / " src" / " main" / " scala-2.11" )
24
+ Seq (baseDirectory.value / " .." / " shared" / " src" / " main" / " scala-2.11" )
25
25
case _ =>
26
26
Seq ()
27
27
}
28
28
},
29
29
publishTo := Some (" releases" at " https://oss.sonatype.org/service/local/staging/deploy/maven2" ),
30
-
31
- pomExtra :=
32
- <url >https:// github.com/ lihaoyi/ sourcecode</url >
33
- <licenses >
34
- <license >
35
- <name >MIT license</name >
36
- <url >http:// www.opensource.org/ licenses/ mit- license.php</url >
37
- </license >
38
- </licenses >
39
- <scm >
40
- <url >git:// github.com/ lihaoyi/ sourcecode.git</url >
41
- <connection >scm: git:// github.com/ lihaoyi/ sourcecode.git</connection >
42
- </scm >
43
- <developers >
44
- <developer >
45
- <id >lihaoyi</id >
46
- <name >Li Haoyi </name >
47
- <url >https:// github.com/ lihaoyi</url >
48
- </developer >
49
- </developers >
30
+ scmInfo := Some (ScmInfo (
31
+ browseUrl = url(" https://github.com/lihaoyi/sourcecode" ),
32
+ connection
= " scm:git:[email protected] :lihaoyi/sourcecode.git"
33
+ )),
34
+ licenses := Seq (" MIT" -> url(" http://www.opensource.org/licenses/mit-license.html" )),
35
+ developers += Developer (
36
+
37
+ id = " lihaoyi" ,
38
+ name = " Li Haoyi" ,
39
+ url = url(" https://github.com/lihaoyi" )
40
+ )
50
41
)
51
42
52
43
lazy val js = sourcecode.js
0 commit comments