add gradle build and api jar