gradle port

fixes #10