updated the gradle build file to specify the library version.
Added library project for proper build in eclipse.