diff options
Diffstat (limited to 'docs/pages')
-rw-r--r-- | docs/pages/1 - Intro to Mill.md | 4 |
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" |