Behavioural properties

There are some properties that can be set to customize behaviour.

Gradle property

Description

org.ysb33r.nempi.sonatype.push.disabled

Set to true to disable publishing to Sonatype, but still build the publication ZIP.

org.ysb33r.nempi.sonatype.release.disabled

Set to true to enable manual release and disable automatic release. When this set, the task will successfully terminate once a status of VALIDATED is reached.

org.ysb33r.nempis.sonatype.close.timeout.seconds

Change the number of seconds to wait for PUBLISHED status in automatic release mode or VALIDATED status in manual release. The default is 900s (15min). If it is an automatic release, and the state is still PUBLISHING and the end of this period, the task will end successfully, but print a warning to the console.

Can also be supplied as a system property of the same name or an environment variable called ORG_YSB33R_NEMPI_SONATYPE_CLOSE_TIMEOUT_SECONDS

org.ysb33r.nempi.sonatype.poll.interval.seconds

The number of seconds to wait before checking again for a state change. The default is 5s.

Can also be supplied as a system property of the same name or an environment variable called ORG_YSB33R_NEMPI_SONATYPE_POLL_INTERVAL_SECONDS

org.ysb33r.sonatype.url

Override the base URL for Sonatype. Useful for local testing.