@@ -27,14 +27,46 @@ val commonSettings = Seq(
2727 " -Ycache-plugin-class-loader:last-modified" ,
2828 " -Ycache-macro-class-loader:last-modified" ,
2929 ),
30+ autoAPIMappings := true ,
31+ publishMavenStyle := true ,
32+ publishArtifact in Test := false ,
33+ pomIncludeRepository := { _ => false },
34+
35+ publishTo := sonatypePublishToBundle.value,
36+
37+ credentials in Global += Credentials (
38+ " Sonatype Nexus Repository Manager" ,
39+ " oss.sonatype.org" ,
40+ sys.env.getOrElse(" SONATYPE_USERNAME" , " " ),
41+ sys.env.getOrElse(" SONATYPE_PASSWORD" , " " )
42+ ),
43+
44+ pomExtra := {
45+ <url >https:// github.com/ UdashFramework / scala- js- jquery</url >
46+ <licenses >
47+ <license >
48+ <name >Apache v.2 License </name >
49+ <url >http:// www.apache.org/ licenses/ LICENSE - 2.0 .txt</url >
50+ <distribution >repo</distribution >
51+ </license >
52+ </licenses >
53+ <scm >
54+ <url >git@ github.com: UdashFramework / scala- js- jquery.git</url >
55+ <connection >scm: git@ github.com: UdashFramework / scala- js- jquery.git</connection >
56+ </scm >
57+ <developers >
58+ <developer >
59+ <id >avsystem</id >
60+ <name >AVSystem </name >
61+ <url >http:// www.avsystem.com/</ url>
62+ </developer >
63+ </developers >
64+ }
3065)
3166
3267val commonJSSettings = Seq (
3368 Test / parallelExecution := false ,
3469 Test / scalaJSStage := FastOptStage ,
35- // ScalaJSBundlerPlugin does not work with scalajs-env-selenium:
36- // https://github.com/scalacenter/scalajs-bundler/issues/89
37- // Test / jsEnv := new SeleniumJSEnv(browserCapabilities),
3870 scalacOptions += {
3971 val localDir = (ThisBuild / baseDirectory).value.toURI.toString
4072 val githubDir = " https://raw.githubusercontent.com/UdashFramework/scala-js-jquery"
0 commit comments