Patches the build.gradle

Hopefully this fixes my invalid logic :D