File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,16 @@ val commonSettings: Seq[Setting[_]] = Seq(
14
14
organization := " org.scala-js" ,
15
15
scalacOptions ++= Seq (" -deprecation" , " -feature" , " -Xfatal-warnings" ),
16
16
17
+ scalacOptions ++= {
18
+ if (isSnapshot.value)
19
+ Seq .empty
20
+ else {
21
+ val a = baseDirectory.value.toURI
22
+ val g = " https://raw.githubusercontent.com/scala-js/scala-js-java-time"
23
+ Seq (s " -P:scalajs:mapSourceURI: $a-> $g/v ${version.value}/ " )
24
+ }
25
+ },
26
+
17
27
homepage := Some (url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3Ehttp://scala-js.org/%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E%3C/span%3E)),
18
28
licenses += (" BSD New" ,
19
29
url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3Ehttps://github.com/scala-js/scala-js-java-time/blob/master/LICENSE%3Cspan%20class=%22pl-pds%22%3E"%3C/span%3E%3C/span%3E)),
You can’t perform that action at this time.
0 commit comments