= Assemble

Some distribution types may be assembled by JReleaser.

include::partial$legend.adoc[]

[tabs]
====
YAML::
+
[source,yaml]
[subs="+macros"]
----
# icon:dot-circle[]
assemble:
  # Enable or disable all configured assemblers.
  # Defaults to `true`.
  # icon:dot-circle[]
  enabled: true
----
TOML::
+
[source,toml]
[subs="+macros"]
----
# icon:dot-circle[]
[assemble]

  # Enable or disable all configured assemblers.
  # Defaults to `true`.
  # icon:dot-circle[]
  enable = true
----
JSON::
+
[source,json]
[subs="+macros"]
----
{
  // icon:dot-circle[]
  "assemble": {
    // Enable or disable all configured assemblers.
    // Defaults to `true`.
    // icon:dot-circle[]
    "enabled": true
  }
}
----
Maven::
+
[source,xml]
[subs="+macros,verbatim"]
----
<jreleaser>
  <!--
    icon:dot-circle[]
  -->
  <assemble>
    <!--
      Enable or disable all configured assemblers.
      Defaults to `true`.
      icon:dot-circle[]
    -->
    <enabled>true</enabled>
  </assemble>
</jreleaser>
----
Gradle::
+
[source,groovy]
[subs="+macros"]
----
jreleaser {
  // icon;dot-circle[]
  assemble {
    // Enable or disable all configured assemblers.
    // Defaults to `true`.
    // icon:dot-circle[]
    enabled = true
  }
}
----
====

Assemblers will configure a matching distribution by name if it exists, otherwise they'll create a new distribution
with their respective name. Assemblers can configure the following distribution properties:

 * active
 * executable
 * java
 * artifacts
 * extraProperties
