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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TransformInput\n==============\n\n\n```\ninterface TransformInput\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n| **This interface is deprecated.** \n\nThe input to a Transform.\n\nIt is mostly composed of a list of [JarInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/JarInput) and a list of [DirectoryInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/DirectoryInput).\n\nSummary\n-------\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html)`)`[Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)`\u003c`[DirectoryInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/DirectoryInput)`!\u003e!` | [getDirectoryInputs](/reference/tools/gradle-api/8.0/com/android/build/api/transform/TransformInput#getDirectoryInputs())`()` Returns a collection of [DirectoryInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/DirectoryInput). |\n| `(`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html)`)`[Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)`\u003c`[JarInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/JarInput)`!\u003e!` | [getJarInputs](/reference/tools/gradle-api/8.0/com/android/build/api/transform/TransformInput#getJarInputs())`()` Returns a collection of [JarInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/JarInput). |\n\nPublic functions\n----------------\n\n### getDirectoryInputs\n\n```\nfun getDirectoryInputs(): (Mutable)Collection\u003cDirectoryInput!\u003e!\n```\n\nReturns a collection of [DirectoryInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/DirectoryInput). \n\n### getJarInputs\n\n```\nfun getJarInputs(): (Mutable)Collection\u003cJarInput!\u003e!\n```\n\nReturns a collection of [JarInput](/reference/tools/gradle-api/8.0/com/android/build/api/transform/JarInput)."]]