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
- Alphabetic
- By Inheritance
- AndroidSdkModule
- Module
- BaseClass
- Cacher
- Cacher
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- object millInternal extends Internal
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def androidJarPath: T[PathRef]
Provides the path to the
android.jar
file, necessary for compiling Android apps. - 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildToolsPath: T[PathRef]
Provides path to the Android build tools for the selected version.
- 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
- def bundleToolUrl: T[String]
URL to download bundle tool, used for creating Android app bundles (AAB files).
- def cachedTarget[T](t: => T)(implicit c: Enclosing): T
- Attributes
- protected[this]
- Definition Classes
- Cacher → Cacher
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def millModuleBasePath: BasePath
- Definition Classes
- Module
- def millModuleDirectChildren: Seq[define.Module]
- Definition Classes
- Module
- implicit def millModuleExternal: External
- Definition Classes
- Module
- implicit def millModuleSegments: Segments
- Definition Classes
- Module
- implicit def millModuleShared: Foreign
- Definition Classes
- Module
- def millOuterCtx: Ctx
- Definition Classes
- BaseClass
- def millSourcePath: Path
- Definition Classes
- Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def platformsVersion: T[String]
Specifies the Android platform version (e.g., Android API level).
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Module → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)