Update gradle build file for webstart