Stay organized with collections
Save and categorize content based on your preferences.
interface TransformInput
The input to a Transform.
It is mostly composed of a list of JarInput
and a list of DirectoryInput
.
Summary
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# TransformInput\n==============\n\n```\ninterface TransformInput\n```\n\n|-----------------------------------------------------|\n| [com.android.build.api.transform.TransformInput](#) |\n\nThe input to a Transform.\n\nIt is mostly composed of a list of [JarInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/JarInput) and a list of [DirectoryInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/DirectoryInput).\n\nSummary\n-------\n\n| ### Public methods ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [MutableCollection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html)\\\u003c[DirectoryInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/DirectoryInput)!\\\u003e | [getDirectoryInputs](#getDirectoryInputs())`()` Returns a collection of [DirectoryInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/DirectoryInput). |\n| abstract [MutableCollection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html)\\\u003c[JarInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/JarInput)!\\\u003e | [getJarInputs](#getJarInputs())`()` Returns a collection of [JarInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/JarInput). |\n\nPublic methods\n--------------\n\n### getDirectoryInputs\n\n```\n@NonNull abstract fun getDirectoryInputs(): MutableCollection\u003cDirectoryInput!\u003e\n```\n\nReturns a collection of [DirectoryInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/DirectoryInput). \n\n### getJarInputs\n\n```\n@NonNull abstract fun getJarInputs(): MutableCollection\u003cJarInput!\u003e\n```\n\nReturns a collection of [JarInput](/reference/tools/gradle-api/4.2/com/android/build/api/transform/JarInput)."]]