= Upload

Artifacts and files may be uploaded to configured servers.

include::partial$legend.adoc[]

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

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