AndroidSdkModule

mill.javalib.android.AndroidSdkModule
See theAndroidSdkModule companion object
@Scaladoc(value = "/**\n * Trait for managing the Android SDK in a Mill build system.\n *\n * This trait offers utility methods for automating the download, installation,\n * and configuration of the Android SDK, build tools, and other essential\n * components necessary for Android development. It facilitates setting up\n * an Android development environment, streamlining the process of building,\n * compiling, and packaging Android applications in a Mill project.\n *\n * For more information, refer to the official Android\n * [[https://developer.android.com/studio documentation]].\n */")
trait AndroidSdkModule extends 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.

Attributes

Companion
object
Source
AndroidSdkModule.scala
Graph
Supertypes
trait Module
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
object moduleInternal 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

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Abstract methods

@Scaladoc(value = "/**\n * Specifies the version of the Android build tools to be used.\n */")
def buildToolsVersion: Target[String]

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

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

Attributes

Source
AndroidSdkModule.scala

Concrete methods

@Scaladoc(value = "/**\n * Provides the path to AAPT2, used for resource handling and APK packaging.\n *\n * For More Read AAPT2 [[https://developer.android.com/tools/aapt2 Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path for the Android Debug Bridge (adt) tool.\n *\n * For more information, refer to the official Android documentation [[https://developer.android.com/tools/adb]]\n */")

Provides the path for the Android Debug Bridge (adt) tool.

Provides the path for the Android Debug Bridge (adt) tool.

For more information, refer to the official Android documentation https://developer.android.com/tools/adb

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path to the `android.jar` file, necessary for compiling Android apps.\n */")

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

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path to the APK signer tool, used to digitally sign APKs.\n *\n * For More Read APK Signer [[https://developer.android.com/tools/apksigner Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path for the Android Virtual Device Manager (avdmanager) tool\n *\n * For more information refer to the official Android documentation [[https://developer.android.com/tools/avdmanager]]\n */")

Provides the path for the Android Virtual Device Manager (avdmanager) tool

Provides the path for the Android Virtual Device Manager (avdmanager) tool

For more information refer to the official Android documentation https://developer.android.com/tools/avdmanager

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides path to the Android build tools for the selected version.\n */")

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

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path to the `bundleTool.jar` file, necessary for creating Android bundles.\n *\n * For More Read Bundle Tool [[https://developer.android.com/tools/bundletool Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * URL to download bundle tool, used for creating Android app bundles (AAB files).\n */")
def bundleToolUrl: Target[String]

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

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Specifies the version of the Android Bundle tool to be used.\n */")
def bundleToolVersion: Target[String]

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

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides path to D8 Dex compiler, used for converting Java bytecode into Dalvik bytecode.\n *\n * For More Read D8 [[https://developer.android.com/tools/d8 Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path for the android emulator tool\n *\n * For more information refer to [[https://developer.android.com/studio/run/emulator]]\n */")

Provides the path for the android emulator tool

Provides the path for the android emulator tool

For more information refer to https://developer.android.com/studio/run/emulator

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Installs the necessary Android SDK components such as platform-tools, build-tools, and Android platforms.\n *\n * For more details on the `sdkmanager` tool, refer to:\n * [[https://developer.android.com/tools/sdkmanager sdkmanager Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides path to the Android CLI lint tool.\n */")

Provides path to the Android CLI lint tool.

Provides path to the Android CLI lint tool.

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Specifies the version of the Manifest Merger.\n */")

Specifies the version of the Manifest Merger.

Specifies the version of the Manifest Merger.

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Specifies the Android platform version (e.g., Android API level).\n */")
def platformsVersion: Target[String]

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

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

Attributes

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path for the Android SDK Manager tool\n *\n * @return A task containing a [[PathRef]] pointing to the SDK directory.\n */")

Provides the path for the Android SDK Manager tool

Provides the path for the Android SDK Manager tool

Attributes

Returns

A task containing a PathRef pointing to the SDK directory.

Source
AndroidSdkModule.scala
@Scaladoc(value = "/**\n * Provides the path to the Zipalign tool, which optimizes APK files by aligning their data.\n *\n * For More Read Zipalign [[https://developer.android.com/tools/zipalign Documentation]]\n */")

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

Attributes

Source
AndroidSdkModule.scala

Inherited methods

def moduleCtx: Ctx

Attributes

Inherited from:
BaseClass
Source
Module.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Module -> Any
Inherited from:
Module
Source
Module.scala

Implicits

Inherited implicits

implicit def moduleNestedCtx: Nested

Attributes

Inherited from:
Module
Source
Module.scala