Hello guys, My Build type beta fails on my build-g...
# gradle
f
Hello guys, My Build type beta fails on my build-gradle.kts on my Android project with error: BuildType with name ‘beta’ not found.
g
it probably not registered yet, you can replace getByName with register, it would create this build type
👍 1
f
That was it. Thanks @gildor 👍
When I am on a multi-module project, I should add the build variant to all the modules ?
g
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
f
But without the new build type “Beta” on all modules, I am not able to export an apk
g
why?