apply plugin: 'groovy' apply plugin: DefaultPublishTasks dependencies { compile gradleApi() compile localGroovy() } repositories { mavenCentral() } publishing { publications { publishUtils(MavenPublication) { from components.java groupId 'net.corda.plugins' artifactId 'publish-utils' artifact sourceJar artifact javadocJar } } }