|
1 | 1 | addCommandAlias("restartWDS", "; demo/fastOptJS::stopWebpackDevServer; ~demo/fastOptJS::startWebpackDevServer") |
2 | 2 |
|
3 | 3 | lazy val root = project.in(file(".")).settings(commonSettings).aggregate(core, icons, lab, demo).settings( |
4 | | - name := "scalajs-react-material-ui", |
5 | | - // No, SBT, we don't want any artifacts for root. |
6 | | - // No, not even an empty jar. |
7 | | - publish := {}, |
8 | | - publishLocal := {}, |
9 | | - publishArtifact := false, |
10 | | - Keys.`package` := file("") |
11 | | -).settings( |
12 | | - aggregate in doc := false |
| 4 | + name := "scalajs-react-material-ui", |
| 5 | + skip in publish := true |
| 6 | +) |
| 7 | + |
| 8 | +inThisBuild( |
| 9 | + List( |
| 10 | + homepage := Some(url("https://github.com/kinoplan/scalajs-react-material-ui")), |
| 11 | + licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT")), |
| 12 | + developers := List( |
| 13 | + Developer( |
| 14 | + "kazievab", |
| 15 | + "Alexey Kaziev", |
| 16 | + "kazievab@gmail.com", |
| 17 | + url("https://github.com/kazievab") |
| 18 | + ) |
| 19 | + ), |
| 20 | + scmInfo := Some( |
| 21 | + ScmInfo( |
| 22 | + url("https://github.com/kinoplan/scalajs-react-material-ui"), |
| 23 | + "scm:git:git@github.com:kinoplan/scalajs-react-material-ui.git" |
| 24 | + ) |
| 25 | + ) |
| 26 | + ) |
13 | 27 | ) |
14 | 28 |
|
15 | 29 | lazy val muiColorsGenerator = taskKey[Seq[File]]("mui-colors-generator") |
@@ -55,18 +69,17 @@ lazy val demo = (project in file("demo")).dependsOn(core, lab) |
55 | 69 | webpackDevServerExtraArgs := Seq("--inline"), |
56 | 70 | yarnExtraArgs := Seq("--silent"), |
57 | 71 | webpackConfigFile in fastOptJS := Some(baseDirectory.value / "dev.webpack.config.js"), |
58 | | - // don't publish the demo |
59 | | - publish := {}, |
60 | | - publishLocal := {}, |
61 | | - publishArtifact := false, |
62 | | - Keys.`package` := file("") |
| 72 | + skip in publish := true |
63 | 73 | ).enablePlugins(ScalaJSBundlerPlugin, WorkbenchPlugin) |
64 | 74 |
|
65 | 75 | lazy val commonSettings = Seq( |
66 | 76 | version := Settings.version, |
67 | 77 | scalaVersion := Settings.versions.scala, |
68 | 78 | organization := Settings.organization, |
69 | 79 | description := Settings.description, |
| 80 | + homepage := Some(url("https://github.com/kinoplan/scalajs-react-material-ui")), |
| 81 | + licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT")), |
| 82 | + publishArtifact in Test := false, |
70 | 83 | webpackBundlingMode := BundlingMode.LibraryOnly(), |
71 | 84 | useYarn := true, |
72 | 85 | version in webpack := Settings.versions.bundler.webpack, |
|
0 commit comments