Move some stuff from Manifest to build.gradle