Update build.gradle for automatic dist archive creation