Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
je...@google.com <je...@google.com>
xa...@google.com <xa...@google.com> #2
CommonExtension.ndkVersion
can probably be made not null and initialized with the constant.
This value is not overrideable in build types/flavors and is not optional (as in there's no reason to give a null
value), so it's just easier to make it non null.
hm...@google.com <hm...@google.com>
hm...@google.com <hm...@google.com>
hm...@google.com <hm...@google.com> #3
From AGP 8.2-alpha07, ndkVersion should be non-nullable and initialized with a default value if not supplied.
Description
As of AGP
4.1.0-rc03
the only way to get the default NDK version is to useANDROID_GRADLE_PLUGIN_FIXED_DEFAULT_NDK_VERSION
which has a number drawbacks:const
string meaning it will get inlined by the compiler and thus you're only reading it at compile time, not at runtime.There should be a proper way to get this. If possible
android.ndkVersion
could perhaps be converted to a non nullable property and have this as the default value.