
= Building Java with Mill
:page-aliases: Intro_to_Mill.adoc, Intro_to_Mill_for_Java.adoc, Java_Intro_to_Mill.adoc
:language: Java
:language-small: java
:language-ext: java
:compat-module: MavenModule
:compat-test-module: MavenTests

include::partial$Intro_Header.adoc[]

== Declarative Configuration

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

=== Multi-Module Projects

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

=== Maven Compatible Modules

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


== Single-File Scripts

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

== Programmable Configuration

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

=== Custom Build Logic

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

=== Programmable Multi-Module Project

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

=== Programmable Compatibility Modules

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

== Realistic Java Example Project

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