Interface FluxoConfigurationExtensionAndroid
-
- All Implemented Interfaces:
public interface FluxoConfigurationExtensionAndroid
-
-
Method Summary
Modifier and Type Method Description abstract UnitfilterVariants(Function1<VariantBuilder, Boolean> predicate)Disables Android build variants not matching the given predicate. abstract StringgetAndroidNamespacePrefix()Prefix for the auto generated androidNamespace. abstract UnitsetAndroidNamespacePrefix(String androidNamespacePrefix)Prefix for the auto generated androidNamespace. abstract StringgetAndroidNamespace()The namespace for the Android target. abstract UnitsetAndroidNamespace(String androidNamespace)The namespace for the Android target. abstract StringgetAndroidApplicationId()The app ID. abstract UnitsetAndroidApplicationId(String androidApplicationId)The app ID. abstract IntegergetAndroidVersionCode()Android app version code. abstract UnitsetAndroidVersionCode(Integer androidVersionCode)Android app version code. abstract ObjectgetAndroidMinSdk()The minimum Android SDK version. abstract UnitsetAndroidMinSdk(Object androidMinSdk)The minimum Android SDK version. abstract ObjectgetAndroidTargetSdk()The target Android SDK version. abstract UnitsetAndroidTargetSdk(Object androidTargetSdk)The target Android SDK version. abstract ObjectgetAndroidCompileSdk()The Android API level to compile your module against. abstract UnitsetAndroidCompileSdk(Object androidCompileSdk)The Android API level to compile your module against. abstract StringgetAndroidBuildToolsVersion()Specifies the version of the SDK Build Tools to use when building your project. abstract UnitsetAndroidBuildToolsVersion(String androidBuildToolsVersion)Specifies the version of the SDK Build Tools to use when building your project. abstract Set<String>getAndroidResourceConfigurations()Specifies a list of alternative resources (for example, languages) to keep in the final artifact. abstract UnitsetAndroidResourceConfigurations(Set<String> androidResourceConfigurations)Specifies a list of alternative resources (for example, languages) to keep in the final artifact. abstract List<String>getNoVerificationBuildTypes()List of Android build types for which no verification setup needed. abstract UnitsetNoVerificationBuildTypes(List<String> noVerificationBuildTypes)List of Android build types for which no verification setup needed. abstract List<String>getNoVerificationFlavors()List of Android build flavors for which no verification setup needed. abstract UnitsetNoVerificationFlavors(List<String> noVerificationFlavors)List of Android build flavors for which no verification setup needed. abstract BooleangetSetupRoom()Flag to set up Room for the module. abstract UnitsetSetupRoom(Boolean setupRoom)Flag to set up Room for the module. abstract BooleangetRemoveKotlinMetadata()Flag to remove kotlin metadata from the resulting APK or bundle. abstract UnitsetRemoveKotlinMetadata(Boolean removeKotlinMetadata)Flag to remove kotlin metadata from the resulting APK or bundle. -
-
Method Detail
-
filterVariants
abstract Unit filterVariants(Function1<VariantBuilder, Boolean> predicate)
Disables Android build variants not matching the given predicate.
-
getAndroidNamespacePrefix
abstract String getAndroidNamespacePrefix()
Prefix for the auto generated androidNamespace.
Inherited from the parent project if not set.
-
setAndroidNamespacePrefix
abstract Unit setAndroidNamespacePrefix(String androidNamespacePrefix)
Prefix for the auto generated androidNamespace.
Inherited from the parent project if not set.
-
getAndroidNamespace
abstract String getAndroidNamespace()
The namespace for the Android target. Used for the generated
RandBuildConfigclasses. Also, to resolve any relative class names in theAndroidManifest.xml. Additionally, it's used for theapplicationIdvalue.If not set, the default is the androidNamespacePrefix (if set) + the project name. Or group if androidNamespacePrefix isn't set.
-
setAndroidNamespace
abstract Unit setAndroidNamespace(String androidNamespace)
The namespace for the Android target. Used for the generated
RandBuildConfigclasses. Also, to resolve any relative class names in theAndroidManifest.xml. Additionally, it's used for theapplicationIdvalue.If not set, the default is the androidNamespacePrefix (if set) + the project name. Or group if androidNamespacePrefix isn't set.
-
getAndroidApplicationId
abstract String getAndroidApplicationId()
The app ID. Inherited from the parent project if not set. androidNamespace is used as a fallback.
-
setAndroidApplicationId
abstract Unit setAndroidApplicationId(String androidApplicationId)
The app ID. Inherited from the parent project if not set. androidNamespace is used as a fallback.
-
getAndroidVersionCode
abstract Integer getAndroidVersionCode()
Android app version code. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
versionCodeorandroidVersionCode.Defaults to
0.
-
setAndroidVersionCode
abstract Unit setAndroidVersionCode(Integer androidVersionCode)
Android app version code. Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
versionCodeorandroidVersionCode.Defaults to
0.
-
getAndroidMinSdk
abstract Object getAndroidMinSdk()
The minimum Android SDK version. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidMinSdk,minSdk,androidMinSdkPreview,minSdkPreview, orandroidPreviewSdk.
-
setAndroidMinSdk
abstract Unit setAndroidMinSdk(Object androidMinSdk)
The minimum Android SDK version. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidMinSdk,minSdk,androidMinSdkPreview,minSdkPreview, orandroidPreviewSdk.
-
getAndroidTargetSdk
abstract Object getAndroidTargetSdk()
The target Android SDK version. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidTargetSdk,targetSdk,androidTargetSdkPreview,targetSdkPreview, orandroidPreviewSdk.
-
setAndroidTargetSdk
abstract Unit setAndroidTargetSdk(Object androidTargetSdk)
The target Android SDK version. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidTargetSdk,targetSdk,androidTargetSdkPreview,targetSdkPreview, orandroidPreviewSdk.
-
getAndroidCompileSdk
abstract Object getAndroidCompileSdk()
The Android API level to compile your module against. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidCompileSdk,compileSdk,androidCompileSdkPreview,compileSdkPreview, orandroidPreviewSdk.
-
setAndroidCompileSdk
abstract Unit setAndroidCompileSdk(Object androidCompileSdk)
The Android API level to compile your module against. Use string value for preview versions, integer otherwise.
Inherited from the parent project if not set.
Auto set using the version names in toml version catalog:
androidCompileSdk,compileSdk,androidCompileSdkPreview,compileSdkPreview, orandroidPreviewSdk.
-
getAndroidBuildToolsVersion
abstract String getAndroidBuildToolsVersion()
Specifies the version of the SDK Build Tools to use when building your project.
Inherited from the parent project if not set.
Auto set using the version names in the toml version catalog:
androidBuildTools,buildToolsVersion,androidBuildToolsVersion.
-
setAndroidBuildToolsVersion
abstract Unit setAndroidBuildToolsVersion(String androidBuildToolsVersion)
Specifies the version of the SDK Build Tools to use when building your project.
Inherited from the parent project if not set.
Auto set using the version names in the toml version catalog:
androidBuildTools,buildToolsVersion,androidBuildToolsVersion.
-
getAndroidResourceConfigurations
abstract Set<String> getAndroidResourceConfigurations()
Specifies a list of alternative resources (for example, languages) to keep in the final artifact.
Inherited from the parent project if not set.
-
setAndroidResourceConfigurations
abstract Unit setAndroidResourceConfigurations(Set<String> androidResourceConfigurations)
Specifies a list of alternative resources (for example, languages) to keep in the final artifact.
Inherited from the parent project if not set.
-
getNoVerificationBuildTypes
abstract List<String> getNoVerificationBuildTypes()
List of Android build types for which no verification setup needed.
-
setNoVerificationBuildTypes
abstract Unit setNoVerificationBuildTypes(List<String> noVerificationBuildTypes)
List of Android build types for which no verification setup needed.
-
getNoVerificationFlavors
abstract List<String> getNoVerificationFlavors()
List of Android build flavors for which no verification setup needed.
-
setNoVerificationFlavors
abstract Unit setNoVerificationFlavors(List<String> noVerificationFlavors)
List of Android build flavors for which no verification setup needed.
-
getSetupRoom
abstract Boolean getSetupRoom()
Flag to set up Room for the module.
Inherited from the parent project if not set.
-
setSetupRoom
abstract Unit setSetupRoom(Boolean setupRoom)
Flag to set up Room for the module.
Inherited from the parent project if not set.
-
getRemoveKotlinMetadata
abstract Boolean getRemoveKotlinMetadata()
Flag to remove kotlin metadata from the resulting APK or bundle.
Inherited from the parent project if not set.
-
setRemoveKotlinMetadata
abstract Unit setRemoveKotlinMetadata(Boolean removeKotlinMetadata)
Flag to remove kotlin metadata from the resulting APK or bundle.
Inherited from the parent project if not set.
-
-
-
-