Added Gradle file for p2