Modernized gradle script.