diff --git a/build.gradle b/build.gradle index 938232d..ca84ff6 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ java { } group = 'io.github.yuokada' -version = '0.7.0' +version = '0.7.0-SNAPSHOT' description = 'Embulk plugin for generate dummy records by Java.' repositories { @@ -67,7 +67,7 @@ checkstyleTest { configFile = file("${project.rootDir}/config/checkstyle/default.xml") ignoreFailures = true } -task checkstyle(type: Checkstyle) { +tasks.register('checkstyle', Checkstyle) { classpath = sourceSets.main.output + sourceSets.test.output source = sourceSets.main.allJava + sourceSets.test.allJava } @@ -90,6 +90,19 @@ spotbugs { // } // } +publishing { + publications { + embulkPluginMaven(MavenPublication) { + from components.java + } + } + repositories { + maven { + url = "${project.buildDir}/mavenPublishLocal" + } + } +} + gem { from("LICENSE.txt") authors = ["yuokada"]