Added source jar to artifacts, bump gradle-wrapper.
Fix arrays encoding/decoding.