if (!configurations.findByName("default")) { // allow other projects to directly use 'ub-uiautomator.jar' configurations.create("default") } artifacts.add("default", file('ub-uiautomator.jar'))