build.gradle in embulk-output-hdfs-0.2.4 vs build.gradle in embulk-output-hdfs-0.3.0

- old
+ new

@@ -13,24 +13,24 @@ } configurations { provided } -version = "0.2.4" +version = "0.3.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 dependencies { - compile "org.embulk:embulk-core:0.8.8" - provided "org.embulk:embulk-core:0.8.8" + compile "org.embulk:embulk-core:0.8.38" + provided "org.embulk:embulk-core:0.8.38" // compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION" compile 'org.apache.hadoop:hadoop-client:2.6.0' compile 'com.google.guava:guava:15.0' testCompile "junit:junit:4.+" - testCompile "org.embulk:embulk-core:0.8.8:tests" - testCompile "org.embulk:embulk-standards:0.8.8" + testCompile "org.embulk:embulk-core:0.8.38:tests" + testCompile "org.embulk:embulk-standards:0.8.38" } task classpath(type: Copy, dependsOn: ["jar"]) { doFirst { file("classpath").deleteDir() } from (configurations.runtime - configurations.provided + files(jar.archivePath)) @@ -70,12 +70,14 @@ task gemPush(type: JRubyExec, dependsOn: ["gem"]) { jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "push" script "pkg/${project.name}-${project.version}.gem" } -task "package"(dependsOn: ["gemspec", "classpath"]) << { - println "> Build succeeded." - println "> You can run embulk with '-L ${file(".").absolutePath}' argument." +task "package"(dependsOn: ["gemspec", "classpath"]) { + doLast { + println "> Build succeeded." + println "> You can run embulk with '-L ${file(".").absolutePath}' argument." + } } task gemspec { ext.gemspecFile = file("${project.name}.gemspec") inputs.file "build.gradle"