AndroidSdkModule

mill.androidlib.AndroidSdkModule
See theAndroidSdkModule companion object
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 ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

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

def buildToolsVersion: Simple[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

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

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

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

Provides all the Android libraries classpaths, including android.jar and other necessary files, for the Android R8 tool.

Provides all the Android libraries classpaths, including android.jar and other necessary files, for the Android R8 tool.

Attributes

Source
AndroidSdkModule.scala

Location of the default proguard optimisation config. See also https://developer.android.com/build/shrink-code

Location of the default proguard optimisation config. See also https://developer.android.com/build/shrink-code

Attributes

Source
AndroidSdkModule.scala

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

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

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

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
def bundleToolUrl: Simple[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
def bundleToolVersion: Simple[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
def cmakeVersion: Simple[String]

Specifies the version of CMake to be used.

Specifies the version of CMake to be used.

Attributes

Source
AndroidSdkModule.scala

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

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

Install the Android NDK (Native Development Kit) for building native code.

Install the Android NDK (Native Development Kit) for building native code.

Attributes

Source
AndroidSdkModule.scala

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

Provides path to the Android CLI lint tool.

Provides path to the Android CLI lint tool.

Attributes

Source
AndroidSdkModule.scala

Specifies the version of the Manifest Merger.

Specifies the version of the Manifest Merger.

Attributes

Source
AndroidSdkModule.scala

Attributes

Source
AndroidSdkModule.scala
def ndkVersion: Simple[String]

Specifies the version of the Android NDK (Native Development Kit) to be used.

Specifies the version of the Android NDK (Native Development Kit) to be used.

Attributes

Source
AndroidSdkModule.scala
def platformsVersion: Simple[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

Provides the path for the r8 tool, used for code shrinking and optimization.

Provides the path for the r8 tool, used for code shrinking and optimization.

Attributes

Returns

A task containing a PathRef pointing to the r8 directory.

Source
AndroidSdkModule.scala

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

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

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