@@ -5,34 +5,24 @@ val scala210 = "2.10.7"
5
5
val scala211 = " 2.11.12"
6
6
val scala212 = " 2.12.6"
7
7
val scala213 = " 2.13.0-M5"
8
- val baseSettings = Seq (
8
+
9
+ inThisBuild(List (
9
10
organization := " com.lihaoyi" ,
10
11
name := " sourcecode" ,
11
- version := " 0.1.5-SNAPSHOT" ,
12
12
scalaVersion := scala211,
13
13
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
- )),
18
14
homepage := Some (url(" https://github.com/lihaoyi/sourcecode" )),
19
15
licenses := Seq (" MIT" -> url(" http://www.opensource.org/licenses/mit-license.html" )),
20
16
developers += Developer (
21
17
22
18
id = " lihaoyi" ,
23
19
name = " Li Haoyi" ,
24
20
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
+ ))
33
23
34
- baseSettings
35
- noPublish
24
+ skip in publish := true
25
+ crossScalaVersions := List () // required for `++2.12.6 test` to ignore native project
36
26
37
27
def macroDependencies (version : String ) =
38
28
Seq (
@@ -47,7 +37,6 @@ def macroDependencies(version: String) =
47
37
48
38
lazy val sourcecode = crossProject(JSPlatform , JVMPlatform , NativePlatform )
49
39
.settings(
50
- baseSettings,
51
40
libraryDependencies ++= macroDependencies(scalaVersion.value),
52
41
test in Test := (run in Test ).toTask(" " ).value,
53
42
unmanagedSourceDirectories in Compile ++= {
0 commit comments