Class for storing the settings for the app closure.
| Type | Name and description |
|---|---|
File |
apkFileThe file to where the APK will be exported. |
File |
unsignedApkFileThe file to where the unsigned APK will be exported. |
com.android.build.gradle.api.ApplicationVariant |
variantThe build variant of the application to be packaged. |
The file to where the APK will be exported. Note that this may be a signed or unsigned APK depending on the signing configuration. If this points to an existing file, that file will be overwritten. This property is optional if unsignedApkFile is already defined; that is, at least one of them must be present. If this is not specified, then only unsignedApkFile will be exported.
The file to where the unsigned APK will be exported. If this points to an existing file, that file will be overwritten. This property is optional if apkFile is already defined; that is, at least one of them must be present. If this is not specified, then only apkFile will be exported.
The build variant of the application to be packaged. This property is mandatory.