1
1
name := " udash-jquery"
2
2
3
3
inThisBuild(Seq (
4
- version := sys.env.get( " TRAVIS_TAG " ).filter(_.startsWith( " v " )).map(_.drop( 1 )).getOrElse( " 3.0.0 -SNAPSHOT" ) ,
4
+ version := " 3.1.0 -SNAPSHOT" ,
5
5
organization := " io.udash" ,
6
- cancelable := true ,
7
6
))
8
7
9
8
val commonSettings = Seq (
@@ -25,8 +24,22 @@ val commonSettings = Seq(
25
24
" -Ycache-plugin-class-loader:last-modified" ,
26
25
" -Ycache-macro-class-loader:last-modified" ,
27
26
),
28
- autoAPIMappings := true ,
27
+ )
28
+
29
+ val commonJSSettings = Seq (
30
+ Test / scalaJSStage := FastOptStage ,
31
+ Test / requireJsDomEnv := true ,
32
+ npmExtraArgs += " --silent" ,
33
+ scalacOptions += {
34
+ val localDir = (ThisBuild / baseDirectory).value.toURI.toString
35
+ val githubDir = " https://raw.githubusercontent.com/UdashFramework/scala-js-jquery"
36
+ s " -P:scalajs:mapSourceURI: $localDir-> $githubDir/v ${version.value}/ "
37
+ },
38
+ )
39
+
40
+ val deploymentConfiguration = Seq (
29
41
publishMavenStyle := true ,
42
+ Test / publishArtifact := false ,
30
43
pomIncludeRepository := { _ => false },
31
44
32
45
publishTo := sonatypePublishToBundle.value,
@@ -61,22 +74,12 @@ val commonSettings = Seq(
61
74
}
62
75
)
63
76
64
- val commonJSSettings = Seq (
65
- Test / scalaJSStage := FastOptStage ,
66
- Test / requireJsDomEnv := true ,
67
- npmExtraArgs += " --silent" ,
68
- scalacOptions += {
69
- val localDir = (ThisBuild / baseDirectory).value.toURI.toString
70
- val githubDir = " https://raw.githubusercontent.com/UdashFramework/scala-js-jquery"
71
- s " -P:scalajs:mapSourceURI: $localDir-> $githubDir/v ${version.value}/ "
72
- },
73
- )
74
-
75
77
lazy val root = project.in(file(" ." ))
76
78
.enablePlugins(ScalaJSBundlerPlugin , JSDependenciesPlugin )
77
79
.settings(
78
80
commonSettings,
79
81
commonJSSettings,
82
+ deploymentConfiguration,
80
83
81
84
libraryDependencies ++= Seq (
82
85
" org.scala-js" %%% " scalajs-dom" % " 1.2.0" ,
0 commit comments