fixed gradle plugin 0.10 compatibility & added parameter to publish without dependencies