add gradle build, java plugin is used; BuildConfig class was removed to allow the build with the java plugin instead of the android plugin; Still need to fix the name clash compile error