Add gradle support to Setting