Gradle fixes for usable jar dependency when installed to local maven