Adding cration of core library jar task to gradle build file