BuildConfigField
@Incubating data class BuildConfigField<T : Serializable> : Serializable
kotlin.Any | |
↳ | com.android.build.api.variant.BuildConfigField |
Field definition for the generated BuildConfig class.
The field is generated as: = ;
Summary
Public constructors |
|
---|---|
Field definition for the generated BuildConfig class. |
Properties |
|
---|---|
String? |
Optional field comment that will be added to the generated source file or null if no comment is necessary. |
String |
Value to be written as BuildConfig field type. |
T |
Value of the generated field. |
Public constructors
<init>
BuildConfigField(
type: String,
value: T,
comment: String?)
Field definition for the generated BuildConfig class.
The field is generated as: = ;
Properties
comment
val comment: String?
Optional field comment that will be added to the generated source file or null if no comment is necessary.
value
val value: T
Value of the generated field. If type is String, then value should include quotes.