added idea,gradle,build to ignore file and added java plugin to build.gradle