Feature gradle

Most recent changes for gradle, that were left out in #334

Changes are about non standard build settings and keeping version properties in a separate file