Fixed
Status Update
Comments
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Gradle issue asking for it to be made easier to avoid making an unused modification to this list:
se...@google.com <se...@google.com> #3
I think the issue here is that jvmArgs is null, which causes addAll()
to not run.
IMO we should be adding to jvmArgs and not replacing it entirely, in case something else has previously set jvmArgs. WYT @Ivan?
I could change it to something like
forkOptions.jvmArgs?.addAll(executionOptions.get().jvmArgs) ?: forkOptions.jvmArgs(executionOptions.get().jvmArgs)
Description
I ran lint on a test project and got some API errors. It turns out that the code is properly checking for the SDK_INT level, but it stores this in an intermediate local variable.
Lint looks for SDK_INTs stored in fields and checked by utility methods, but not intermediate local variables.
Example: the "dynamicColor" variable inhttps://github.com/code-with-the-italians/bundel/blob/main/app/src/main/java/dev/sebastiano/bundel/ui/Theme.kt#L23