Fix a build error

The key should be :target-version instead of :target-sdk. For some
reason, :ics was not working. An explicit "17" does. Explicit JVM
options make sure the resulting JAR can be DEXed.