I’m trying to figure out how to set the name of my...
# gradle
d
I’m trying to figure out how to set the name of my
apk
output with
gradle-dsl
d
That doesn’t apply to
kotlin-dsl
( or at least, I can’t figure out how to achieve that )
g
kotlin-dsl uses exactly the same plugin, usage maybe a bit different, do you have example that doesn't work for you? You don't have access to defaultConfig.archiveBaseName property?
Maybe you need setter instead of property
d
Yes, I tried but weirdly I didn't find any setter function inside my
defaultConfig
🙈
g
Any? So you don't have code completion in defaultConfig?
d
Yes I do, just can't find a
setProperty
or
operator set
g
?? You don't need set property in this case, neither operator, there is should be setter setArchiveBaseName
d
I mean I don't have any function that could probably set that property 😁 I'll try that even if IDE doesn't suggest me.