use projectID parameter (from jenkins) instead of hardcoded project ID
update buildAPK.gradle
added groovy plugin to sourceTest build.gradle and changed folder structure :D
fixed ManifestTests. working now