Commit d2b8ee1 1 parent 9f07743 commit d2b8ee1 Copy full SHA for d2b8ee1
File tree 2 files changed +22
-24
lines changed
2 files changed +22
-24
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,28 @@ import Extra._
2
2
3
3
inThisBuild(
4
4
Def .settings(
5
- scalaVersion := " 2.12.10"
5
+ scalaVersion := " 2.12.10" ,
6
+ scalacOptions ++= Seq (
7
+ " -deprecation" ,
8
+ " -unchecked" ,
9
+ " -feature" ,
10
+ " -encoding" ,
11
+ " utf8"
12
+ ),
13
+ organization := " org.portable-scala" ,
14
+ versionScheme := Some (" semver-spec" ),
15
+ homepage := Some (
16
+ url(" https://github.com/portable-scala/sbt-crossproject" )),
17
+ licenses := Seq (
18
+ " BSD-like" -> url(" http://www.scala-lang.org/downloads/license.html" )
19
+ ),
20
+ scmInfo := Some (
21
+ ScmInfo (
22
+ url(" https://github.com/portable-scala/sbt-crossproject" ),
23
+ " scm:git:git@github.com:portable-scala/sbt-crossproject.git" ,
24
+ Some (" scm:git:git@github.com:portable-scala/sbt-crossproject.git" )
25
+ )
26
+ )
6
27
))
7
28
8
29
lazy val `sbt-crossproject-root` =
Original file line number Diff line number Diff line change @@ -12,33 +12,10 @@ object Extra {
12
12
val newScalaBinaryVersionsInThisRelease : Set [String ] = Set ()
13
13
14
14
val sbtPluginSettings = Def .settings(
15
- organization := " org.portable-scala" ,
16
- versionScheme := Some (" semver-spec" ),
17
- scalacOptions ++= Seq (
18
- " -deprecation" ,
19
- " -unchecked" ,
20
- " -feature" ,
21
- " -encoding" ,
22
- " utf8"
23
- ),
24
15
sbtVersion := " 1.2.1"
25
16
)
26
17
27
18
lazy val publishSettings = Seq (
28
- Compile / publishArtifact := true ,
29
- Test / publishArtifact := false ,
30
- homepage := Some (
31
- url(" https://github.com/portable-scala/sbt-crossproject" )),
32
- licenses := Seq (
33
- " BSD-like" -> url(" http://www.scala-lang.org/downloads/license.html" )
34
- ),
35
- scmInfo := Some (
36
- ScmInfo (
37
- url(" https://github.com/portable-scala/sbt-crossproject" ),
38
- " scm:git:git@github.com:portable-scala/sbt-crossproject.git" ,
39
- Some (" scm:git:git@github.com:portable-scala/sbt-crossproject.git" )
40
- )
41
- ),
42
19
// Publishing
43
20
pomExtra := (
44
21
<developers >
You can’t perform that action at this time.
0 commit comments