I’m trying to port my gradle files to a package in...
# build-tools
c
I’m trying to port my gradle files to a package in
buildSrc
. While most parts were very straightforward I couldn’t find a way to use
output.versionNameOverride
in the Kotlin Gradle API. There seems to be the function
setVersionCodeOverride
in
ApkVariantOutput
but that’s deprecated.
ApkVariantOutputImpl
is part of the internal API and thus not useable. Any ideas?
Okay, the solution might be easier than I thought. The VersionName and VersionCode are properties which are settable