Or the more cursed approach: just compile the thing with Android SDK. Except it doesn't support Java 15. Yet. And I use some new features like switch statements that return values.