build.gradle in embulk-parser-jsonpath-0.3.0 vs build.gradle in embulk-parser-jsonpath-0.3.1

- old
+ new

@@ -12,14 +12,14 @@ } configurations { provided } -version = "0.3.0" +version = "0.3.1" -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 dependencies { compile "org.embulk:embulk-core:0.9.7" provided "org.embulk:embulk-core:0.9.7" @@ -75,12 +75,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"