@@ -5,34 +5,24 @@ val scala210 = "2.10.7"
55val scala211 = " 2.11.12"
66val scala212 = " 2.12.6"
77val scala213 = " 2.13.0-M5"
8- val baseSettings = Seq (
8+
9+ inThisBuild(List (
910 organization := " com.lihaoyi" ,
1011 name := " sourcecode" ,
11- version := " 0.1.5-SNAPSHOT" ,
1212 scalaVersion := scala211,
1313 crossScalaVersions := Seq (scala210, scala211, scala212, scala213),
14- scmInfo := Some (ScmInfo (
15- browseUrl = url(" https://github.com/lihaoyi/sourcecode" ),
16- connection
= " scm:git:[email protected] :lihaoyi/sourcecode.git" 17- )),
1814 homepage := Some (url(" https://github.com/lihaoyi/sourcecode" )),
1915 licenses := Seq (" MIT" -> url(" http://www.opensource.org/licenses/mit-license.html" )),
2016 developers += Developer (
21172218 id = " lihaoyi" ,
2319 name = " Li Haoyi" ,
2420 url = url(" https://github.com/lihaoyi" )
25- ),
26- publishTo := Some (" releases" at " https://oss.sonatype.org/service/local/staging/deploy/maven2" )
27- )
28- lazy val noPublish = Seq (
29- publishArtifact := false ,
30- publish := {},
31- publishLocal := {}
32- )
21+ )
22+ ))
3323
34- baseSettings
35- noPublish
24+ skip in publish := true
25+ crossScalaVersions := List () // required for `++2.12.6 test` to ignore native project
3626
3727def macroDependencies (version : String ) =
3828 Seq (
@@ -47,7 +37,6 @@ def macroDependencies(version: String) =
4737
4838lazy val sourcecode = crossProject(JSPlatform , JVMPlatform , NativePlatform )
4939 .settings(
50- baseSettings,
5140 libraryDependencies ++= macroDependencies(scalaVersion.value),
5241 test in Test := (run in Test ).toTask(" " ).value,
5342 unmanagedSourceDirectories in Compile ++= {
0 commit comments