jb-fix-removed-api

Change from private API that was removed to new public API that performs the same behavior. This will only support gradle android plugin 0.10.0 and higher.