Fixed build.gradle to compile to save api as project.properties.