My Build type beta fails on my build-gradle.kts on my Android project
with error: BuildType with name ‘beta’ not found.
07/22/2020, 7:53 AM
it probably not registered yet, you can replace getByName with register, it would create this build type
07/22/2020, 7:55 AM
That was it.
Thanks @gildor 👍
When I am on a multi-module project, I should add the build variant to all the modules ?
07/22/2020, 8:03 AM
I would avoid it
it creates a lot unnecessary tasks
create build variants only if you realy-realy need it and only for modules where you need it, you pay with configuration time for it and with double compilation of all your code when switch between variants
We now disable even default build variant “debug” for library modules, use only release and disabled unused combination of flavor and build types
07/22/2020, 9:19 AM
But without the new build type “Beta” on all modules, I am not able to export an apk