summaryrefslogtreecommitdiff
path: root/docs/pages/1 - Intro to Mill.md
diff options
context:
space:
mode:
authorrockjam <5min4eq.unity@gmail.com>2018-04-30 02:01:22 +0300
committerrockjam <5min4eq.unity@gmail.com>2018-04-30 02:01:22 +0300
commitd86494099d7fca87ab1a8bf0b02ae305ad210d3b (patch)
tree5b36c20f473698c2a054e1b07a98e9ae67f8f396 /docs/pages/1 - Intro to Mill.md
parent5593e0c57eb4a85060575e1f78b2aea857adba2d (diff)
downloadmill-d86494099d7fca87ab1a8bf0b02ae305ad210d3b.tar.gz
mill-d86494099d7fca87ab1a8bf0b02ae305ad210d3b.tar.bz2
mill-d86494099d7fca87ab1a8bf0b02ae305ad210d3b.zip
update docs about scala modules publishing
Diffstat (limited to 'docs/pages/1 - Intro to Mill.md')
-rw-r--r--docs/pages/1 - Intro to Mill.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md
index f3d9706b..5eab7141 100644
--- a/docs/pages/1 - Intro to Mill.md
+++ b/docs/pages/1 - Intro to Mill.md
@@ -540,14 +540,14 @@ $ java -cp out/foo/assembly/dest/out.jar foo.Example
Hello World!
```
-To publish to Maven Central, you need to make `foo` extend Mill's
+To publish to Maven Central, you need to make `foo` also extend Mill's
`PublishModule` trait:
```scala
// build.sc
import mill._, scalalib._, publish._
-object foo extends PublishModule{
+object foo extends ScalaModule with PublishModule {
def scalaVersion = "2.12.4"
def publishVersion = "0.0.1"