
= Building Scala with Mill
:page-aliases: Intro_to_Mill_for_Scala.adoc, Scala_Intro_to_Mill.adoc
:language: Scala
:language-small: scala
:language-ext: scala
:compat-module: SbtModule
:compat-test-module: SbtTests

include::partial$Intro_Header.adoc[]

== Declarative Configuration

include::partial$example/scalalib/basic/3-simple.adoc[]

=== Multi-Module Projects

include::partial$example/scalalib/basic/4-module-deps.adoc[]


=== SBT Compatible Modules

include::partial$example/scalalib/basic/5-compat-modules.adoc[]


== Single-File Scripts

include::partial$example/scalalib/basic/1-script.adoc[]


== Programmable Configuration

include::partial$example/scalalib/basic/6-programmable.adoc[]

=== Custom Build Logic

include::partial$example/scalalib/basic/7-custom-build-logic.adoc[]

=== Programmable Multi-Module Project

include::partial$example/scalalib/basic/8-multi-module.adoc[]

=== Programmable Compatibility Modules

include::partial$example/scalalib/basic/9-programmable-compat.adoc[]

== Realistic Scala Example Project

include::partial$example/scalalib/basic/10-realistic.adoc[]
