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 |
|
---|---|
Unit |
This function is deprecated. Replaced by targetSdkPreview property |
Unit |
This function is deprecated. Replaced by targetSdk property |
Unit |
This function is deprecated. Replaced by targetSdkPreview property |
Public properties |
|
---|---|
Int? |
This property is deprecated. Will be removed from library DSL in v9.0 |
String? |
This property is deprecated. Will be removed from library DSL in v9.0 |
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.