com.android.build
Interface MainOutputFile
- All Superinterfaces:
- OutputFile
public interface MainOutputFile
- extends OutputFile
A main variant output, it must be either a OutputFile.OutputType.MAIN
or OutputFile.OutputType.FULL_SPLIT
Method Summary |
java.io.File |
getOutputFile()
Returns the output file for this artifact's output. |
getOutputFile
@NonNull
java.io.File getOutputFile()
- Returns the output file for this artifact's output.
Depending on whether the project is an app or a library project, this could be an apk or
an aar file.
For test artifact for a library project, this would also be an apk.
- Returns:
- the output file.