Added publish to local Maven repository

Updated the "library" project Gradle script to enable the
publication to a local Maven repository.