To simplify the device server-side build, use gradle to create an APK, even if we use it as a simple jar, by running its main() method.