object PublishModule extends ExternalModule with TaskModule

Source
PublishModule.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublishModule
  2. TaskModule
  3. ExternalModule
  4. BaseModule
  5. BaseModule0
  6. Module
  7. BaseClass
  8. Cacher
  9. Cacher
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Interp extends AnyRef
    Definition Classes
    BaseModule0
  2. case class PublishData(meta: Artifact, payload: Seq[(api.PathRef, String)]) extends Product with Serializable

Value Members

  1. object millInternal extends Internal

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Definition Classes
    Module
    Annotations
    @internal()
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher → Cacher
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. 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
    PublishModuleTaskModule
  9. val defaultGpgArgs: Seq[String]
  10. def defaultGpgArgsForPassphrase(passphrase: Option[String]): Seq[String]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. val evalWatchedValues: Buffer[Watchable]
    Attributes
    protected[mill]
    Definition Classes
    BaseModule0
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val millDiscover: Discover
    Definition Classes
    PublishModuleBaseModuleBaseModule0
  18. implicit def millDiscoverImplicit: Discover
    Definition Classes
    ExternalModule
  19. implicit def millImplicitBaseModule: Implicit
    Definition Classes
    BaseModule
  20. implicit def millModuleBasePath: BasePath
    Definition Classes
    BaseModuleModule
  21. def millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  22. implicit def millModuleExternal: External
    Definition Classes
    Module
  23. implicit def millModuleSegments: Segments
    Definition Classes
    ExternalModuleBaseModuleModule
  24. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  25. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  26. def millSourcePath: Path
    Definition Classes
    BaseModuleModule
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. def pgpImportSecretIfProvided(env: Map[String, String]): Unit
  31. 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

  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. val watchedValues: Buffer[Watchable]
    Attributes
    protected[mill]
    Definition Classes
    BaseModule0
  38. object PublishData extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from define.TaskModule

Inherited from ExternalModule

Inherited from BaseModule

Inherited from BaseModule0

Inherited from define.Module

Inherited from BaseClass

Inherited from Cacher

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped