Search in the blog:

2026-11-03

SZ Viewer A1: Build tool

The first time (since 2014), SZ Viewer A1 (i.e., the Android version) was built using Ant. Then (in 2017), I migrated to sbt with an Android plugin. This combination is very outdated nowadays and causes many problems with modern Android SDKs.

So, the next time I needed to increase the target API level, I switched to a build tool that I created. It is a simple tool for internal use only that calls aapt2/javac/scalac/d8/r8/etc directly. I did this to have full control without intermediates. And it works well. For me, it's a nice compromise, allowing me to keep SZ Viewer A1 compliant with current Google Play requirements.

0 comments:

Post a Comment

Blog Archive