Stand-alone Jar build

Allows to build a stand-alone jar via gradle.