copy in missing function from ../dev/build.gradle