From d86494099d7fca87ab1a8bf0b02ae305ad210d3b Mon Sep 17 00:00:00 2001 From: rockjam <5min4eq.unity@gmail.com> Date: Mon, 30 Apr 2018 02:01:22 +0300 Subject: update docs about scala modules publishing --- docs/pages/1 - Intro to Mill.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') 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" -- cgit v1.2.3