extract gradle into its own module and include module in jboss configuration