Fix a build error

The key should be :target-version instead of :target-sdk. For some
Explicit JVM options make sure the resulting JAR can be DEXed.