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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.android.build.OutputFile
OutputFile.FilterType, OutputFile.OutputType
 
Field Summary
 
Fields inherited from interface com.android.build.OutputFile
ABI, DENSITY, FULL_SPLIT, LANGUAGE, MAIN, NO_FILTER, SPLIT
 
Method Summary
 java.io.File getOutputFile()
          Returns the output file for this artifact's output.
 
Methods inherited from interface com.android.build.OutputFile
getFilters, getFilterTypes, getOutputType
 

Method Detail

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.