AndroidSdkManagerModule

mill.androidlib.AndroidSdkManagerModule
See theAndroidSdkManagerModule companion object

A worker that executes one thing at a time, using the provided lock.

TODO handle channels (i.e. android canary channel) TODO explicit sdk root to sdkmanager via --sdk_root

Attributes

Companion
object
Source
AndroidSdkManagerModule.scala
Graph
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes

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

Concrete methods

def androidInstallEmulator(sdkPath: Task[Path], cmdlineToolsComponents: Task[CmdlineToolsComponents]): Task[PathRef]

Installs the emulator with the provider sdkManager

Installs the emulator with the provider sdkManager

Attributes

Source
AndroidSdkManagerModule.scala
def androidMillHomeDir(): Path

Attributes

Source
AndroidSdkManagerModule.scala
def androidNdk(sdkPath: Task[Path], cmdlineToolsComponents: Task[CmdlineToolsComponents], ndkVersion: Task[String], cmakeVersion: Task[String]): Task[AndroidNdkComponents]

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

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

Attributes

Source
AndroidSdkManagerModule.scala
def androidSdk(sdkPath: Task[Path], cmdlineToolsComponents: Task[CmdlineToolsComponents], buildToolsVersion: Task[String], platformsVersion: Task[String], remoteReposInfo: Task[PathRef], autoAcceptLicenses: Task[Boolean]): Task[AndroidSdkComponents]

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
AndroidSdkManagerModule.scala
def androidSdkManagerInstall(sdkmanagerExe: Task[PathRef], packages: Task[Seq[String]]): Task[CommandResult]

Attributes

Source
AndroidSdkManagerModule.scala
def androidSdkManagerWorker: Worker[AndroidSdkManagerWorker]

Attributes

Source
AndroidSdkManagerModule.scala
def cmdlineTools(sdkPath: Task[Path], cmdlineToolsVersion: Task[String], remoteReposInfo: Task[PathRef], autoAcceptLicenses: Task[Boolean]): Task[CmdlineToolsComponents]

Provides the path for the Cmdline Tools, which is essential for managing Android SDK components. Downloads if missing.

Provides the path for the Cmdline Tools, which is essential for managing Android SDK components. Downloads if missing.

Attributes

Returns

A task containing a PathRef pointing to the SDK directory.

Source
AndroidSdkManagerModule.scala

Inherited methods

Attributes

Inherited from:
RootModule0
Source
RootModule0.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def moduleSegments: Segments

Attributes

Definition Classes
Inherited from:
ExternalModule
Source
ExternalModule.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

Inherited and Abstract methods

Attributes

Inherited from:
RootModule0
Source
RootModule0.scala