add the gemspec java platform