From 3b3763fd82f45cd435c0227a03e4176b5c1d93c0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 18 Jul 2024 16:55:10 +0800 Subject: [PATCH] . --- docs/modules/ROOT/pages/Intro_to_Mill_for_Java.adoc | 7 +++++++ docs/modules/ROOT/pages/Intro_to_Mill_for_Scala.adoc | 12 ++++++++++++ docs/modules/ROOT/partials/Intro_to_Mill_Header.adoc | 11 ----------- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/docs/modules/ROOT/pages/Intro_to_Mill_for_Java.adoc b/docs/modules/ROOT/pages/Intro_to_Mill_for_Java.adoc index 5dff93ddc3b..31b0190f443 100644 --- a/docs/modules/ROOT/pages/Intro_to_Mill_for_Java.adoc +++ b/docs/modules/ROOT/pages/Intro_to_Mill_for_Java.adoc @@ -14,6 +14,13 @@ = Introduction to Mill for Java + +{mill-github-url}[Mill] is your shiny new Java build tool! Mill aims for +simplicity by reusing concepts you are already familiar with, borrowing ideas +from modern tools like https://maven.apache.org/[Maven], https://gradle.org/[Gradle], +https://bazel.build/[Bazel] and https://www.scala-sbt.org/[SBT]. It lets you build +your projects in a way that's simple, fast, and predictable. + include::partial$Intro_to_Mill_Header.adoc[] diff --git a/docs/modules/ROOT/pages/Intro_to_Mill_for_Scala.adoc b/docs/modules/ROOT/pages/Intro_to_Mill_for_Scala.adoc index 5172a670695..4b8690ca728 100644 --- a/docs/modules/ROOT/pages/Intro_to_Mill_for_Scala.adoc +++ b/docs/modules/ROOT/pages/Intro_to_Mill_for_Scala.adoc @@ -15,9 +15,21 @@ :page-aliases: index.adoc + +{mill-github-url}[Mill] is your shiny new Scala build tool! Mill aims for +simplicity by reusing concepts you are already familiar with, borrowing ideas +from modern tools like https://maven.apache.org/[Maven], https://gradle.org/[Gradle], +https://bazel.build/[Bazel] and https://www.scala-sbt.org/[SBT]. It lets you build +your projects in a way that's simple, fast, and predictable. + include::partial$Intro_to_Mill_Header.adoc[] +If you are using Mill, you will find the following book by the Author useful in +using Mill and its supporting libraries to the fullest: + +* https://handsonscala.com/[Hands-on Scala Programming] + == Simple Scala Module include::example/basic/1-simple.adoc[] diff --git a/docs/modules/ROOT/partials/Intro_to_Mill_Header.adoc b/docs/modules/ROOT/partials/Intro_to_Mill_Header.adoc index 34c6c6d2e82..4967d711516 100644 --- a/docs/modules/ROOT/partials/Intro_to_Mill_Header.adoc +++ b/docs/modules/ROOT/partials/Intro_to_Mill_Header.adoc @@ -1,10 +1,4 @@ -{mill-github-url}[Mill] is your shiny new Java/Scala build tool! Mill aims for -simplicity by reusing concepts you are already familiar with, borrowing ideas -from modern tools like https://maven.apache.org/[Maven], https://gradle.org/[Gradle], -https://bazel.build/[Bazel] and https://www.scala-sbt.org/[SBT]. It lets you build -your projects in a way that's simple, fast, and predictable. - Mill automates dealing with a lot of common build-tool concerns: Caching, incremental re-computation, parallelism, discoverability, etc. This allows you to focus your effort on the business logic unique to your build, while letting @@ -18,11 +12,6 @@ to support any other language or platform via modules (written in Java or Scala) or through external subprocesses. Mill supports a rich ecosystem of xref:Contrib_Plugins.adoc[] and xref:Thirdparty_Plugins.adoc[]. -If you are using Mill, you will find the following book by the Author useful in -using Mill and its supporting libraries to the fullest: - -* https://handsonscala.com/[Hands-on Scala Programming] - If you prefer a video introduction rather than text, the following presentation (and companion blog post) is a good introduction into what the Mill build tool is all about: