object PublishModule extends ExternalModule with TaskModule
- Source
- PublishModule.scala
- Alphabetic
- By Inheritance
- PublishModule
- TaskModule
- ExternalModule
- BaseModule
- BaseModule0
- Module
- BaseClass
- Cacher
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Interp extends AnyRef
- Definition Classes
- BaseModule0
- case class PublishData(meta: Artifact, payload: Seq[(api.PathRef, String)]) extends Product with Serializable
Value Members
- object millInternal extends Internal
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachedTarget[T](t: => T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher → Cacher
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def defaultCommandName(): String
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
The name of the default command, which will be automatically executed if the module name is provided at the Mill command line.
- Definition Classes
- PublishModule → TaskModule
- val defaultGpgArgs: Seq[String]
- def defaultGpgArgsForPassphrase(passphrase: Option[String]): Seq[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val evalWatchedValues: Buffer[Watchable]
- Attributes
- protected[mill]
- Definition Classes
- BaseModule0
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val millDiscover: Discover
- Definition Classes
- PublishModule → BaseModule → BaseModule0
- implicit def millDiscoverImplicit: Discover
- Definition Classes
- ExternalModule
- implicit def millImplicitBaseModule: Implicit
- Definition Classes
- BaseModule
- implicit def millModuleBasePath: BasePath
- Definition Classes
- BaseModule → Module
- def millModuleDirectChildren: Seq[define.Module]
- Definition Classes
- Module
- implicit def millModuleExternal: External
- Definition Classes
- Module
- implicit def millModuleSegments: Segments
- Definition Classes
- ExternalModule → BaseModule → Module
- implicit def millModuleShared: Foreign
- Definition Classes
- Module
- def millOuterCtx: Ctx
- Definition Classes
- BaseClass
- def millSourcePath: Path
- Definition Classes
- BaseModule → Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def pgpImportSecretIfProvided(env: Map[String, String]): Unit
- def publishAll(publishArtifacts: Tasks[PublishData] = Tasks.resolveMainDefault("__.publishArtifacts"), sonatypeCreds: String = "", signed: Boolean = true, gpgArgs: String = "", release: Boolean = true, sonatypeUri: String = "https://oss.sonatype.org/service/local", sonatypeSnapshotUri: String = "https://oss.sonatype.org/content/repositories/snapshots", readTimeout: Int = 30 * 60 * 1000, connectTimeout: Int = 30 * 60 * 1000, awaitTimeout: Int = 30 * 60 * 1000, stagingRelease: Boolean = true): define.Command[Unit]
Publish all given artifacts to Sonatype.
Publish all given artifacts to Sonatype. Uses environment variables SONATYPE_USERNAME and SONATYPE_PASSWORD as credentials.
- publishArtifacts
what artifacts you want to publish. Defaults to
.publishArtifacts
which selects all
PublishModules in your build
- sonatypeCreds
Sonatype credentials in format username:password. If specified, environment variables will be ignored. Note: consider using environment variables over this argument due to security reasons.
- gpgArgs
GPG arguments. Defaults to
--passphrase=$MILL_PGP_PASSPHRASE,--no-tty,--pienty-mode,loopback,--batch,--yes,-a,-b
. Specifying this will override/remove the defaults. Add the default args to your args to keep them.- release
Whether to release the artifacts after staging them
- sonatypeUri
Sonatype URI to use. Defaults to
oss.sonatype.org
, newer projects may need to set it to https://s01.oss.sonatype.org/service/local- sonatypeSnapshotUri
Sonatype snapshot URI to use. Defaults to
oss.sonatype.org
, newer projects may need to set it to https://s01.oss.sonatype.org/content/repositories/snapshots- readTimeout
How long to wait before timing out network reads
- connectTimeout
How long to wait before timing out network connections
- awaitTimeout
How long to wait before timing out on failed uploads
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Module → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val watchedValues: Buffer[Watchable]
- Attributes
- protected[mill]
- Definition Classes
- BaseModule0
- object PublishData extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)