Revamped gradle scripts.