Packages

t

mill.javalib.android

AndroidSdkModule

trait AndroidSdkModule extends BaseClass with Module

Trait for managing the Android SDK in a Mill build system.

This trait offers utility methods for automating the download, installation, and configuration of the Android SDK, build tools, and other essential components necessary for Android development. It facilitates setting up an Android development environment, streamlining the process of building, compiling, and packaging Android applications in a Mill project.

For more information, refer to the official Android documentation.

Annotations
@experimental()
Source
AndroidSdkModule.scala
Linear Supertypes
define.Module, BaseClass, Cacher, Cacher, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AndroidSdkModule
  2. Module
  3. BaseClass
  4. Cacher
  5. Cacher
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def buildToolsVersion: T[String]

    Specifies the version of the Android build tools to be used.

  2. abstract def bundleToolVersion: T[String]

    Specifies the version of the Android Bundle tool to be used.

Concrete 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. def aapt2Path: T[PathRef]

    Provides the path to AAPT2, used for resource handling and APK packaging.

    Provides the path to AAPT2, used for resource handling and APK packaging.

    For More Read AAPT2 Documentation

  6. def androidJarPath: T[PathRef]

    Provides the path to the android.jar file, necessary for compiling Android apps.

  7. def apksignerPath: T[PathRef]

    Provides the path to the APK signer tool, used to digitally sign APKs.

    Provides the path to the APK signer tool, used to digitally sign APKs.

    For More Read APK Signer Documentation

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def buildToolsPath: T[PathRef]

    Provides path to the Android build tools for the selected version.

  10. def bundleToolPath: T[PathRef]

    Provides the path to the bundleTool.jar file, necessary for creating Android bundles.

    Provides the path to the bundleTool.jar file, necessary for creating Android bundles.

    For More Read Bundle Tool Documentation

  11. def bundleToolUrl: T[String]

    URL to download bundle tool, used for creating Android app bundles (AAB files).

  12. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher → Cacher
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  14. def d8Path: T[PathRef]

    Provides path to D8 Dex compiler, used for converting Java bytecode into Dalvik bytecode.

    Provides path to D8 Dex compiler, used for converting Java bytecode into Dalvik bytecode.

    For More Read D8 Documentation

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def installAndroidSdkComponents: T[Unit]

    Installs the necessary Android SDK components such as platform-tools, build-tools, and Android platforms.

    Installs the necessary Android SDK components such as platform-tools, build-tools, and Android platforms.

    For more details on the sdkmanager tool, refer to: sdkmanager Documentation

    returns

    A task containing a PathRef pointing to the SDK directory.

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  22. def millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  23. implicit def millModuleExternal: External
    Definition Classes
    Module
  24. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  25. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  26. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  27. def millSourcePath: Path
    Definition Classes
    Module
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  31. def platformsVersion: T[String]

    Specifies the Android platform version (e.g., Android API level).

  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. def zipalignPath: T[PathRef]

    Provides the path to the Zipalign tool, which optimizes APK files by aligning their data.

    Provides the path to the Zipalign tool, which optimizes APK files by aligning their data.

    For More Read Zipalign Documentation

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.Module

Inherited from BaseClass

Inherited from Cacher

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped