LibraryBaseFlavor
interface LibraryBaseFlavor : BaseFlavor, LibraryVariantDimension
LibraryDefaultConfig |
Specifies defaults for properties that the Android library plugin applies to all build variants. |
LibraryProductFlavor |
Encapsulates all product flavors properties for library projects. |
Summary
Public functions |
|
---|---|
@Incubating Unit |
This function is deprecated. Replaced by targetSdkPreview property |
@Incubating Unit |
This function is deprecated. Replaced by targetSdk property |
@Incubating Unit |
This function is deprecated. Replaced by targetSdkPreview property |
Public properties |
|
---|---|
Int? |
The target SDK version used for building the test APK. |
String? |
The target SDK version used for building the test APK. |
Inherited functions |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
|
Inherited properties |
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
Public functions
Public properties
targetSdk
var targetSdk: Int?
The target SDK version used for building the test APK.
This is propagated in the library manifest, but that is only advisory for libraries that depend on this library.
Setting this it will override previous calls of targetSdk
and targetSdkPreview
setters. Only one of targetSdk
and targetSdkPreview
should be set.
targetSdkPreview
var targetSdkPreview: String?
The target SDK version used for building the test APK.
This is propagated in the library manifest, but that is only advisory for libraries that depend on this library.
Setting this it will override previous calls of targetSdk
and targetSdkPreview
setters. Only one of targetSdk
and targetSdkPreview
should be set.