How can I use `baseFeature` in kts?
# gradle
j
How can I use
baseFeature
in kts?
o
I presume you mean the android
baseFeature
-- I'm not sure what the question is, as it's just a property on the
FeatureExtension
class
I guess the question is, where is it breaking down for you?
j
it is
val
so I can’t
baseFeature = true
. There is no method too
c
Source code shows there is a method
baseFeature(boolean)
o
oddly that
setBaseFeature
should result in a
var
in kotlin...
ah, I see why -- the
getBaseFeature
uses a boxed Boolean
so yes, either
baseFeature(boolean)
or
setBaseFeature(boolean)
will work
j
For some reason I could't use that methods, I will try later, thank you!