gradle functioning structure