I'm so sorry 😅 after looking at the error today again, it turns out the problem isn't with K2 at all, it's that my main project uses language version 1.8, and that's causing the error, K2 was enabled as expected.
now I only have to figure out how to specify the language version with compiler arguments