build: Use Kotlin build scripts instead of Groovy
- Upgrade JDK version to 17
- Upgrade Kotlin to 2.0.0
- Fix deprecation warnings and unit tests
- Increase min supported SDK version from 16 to 19
Signed-off-by: Joseph Nuthalapati njoseph@riseup.net
Signed-off-by: Joseph Nuthalapati njoseph@riseup.net