build.gradle in embulk-parser-firebase_avro-0.1.2 vs build.gradle in embulk-parser-firebase_avro-0.1.3

- old
+ new

@@ -1,8 +1,8 @@ plugins { id "com.jfrog.bintray" version "1.1" - id "com.github.jruby-gradle.base" version "0.1.5" + id "com.github.jruby-gradle.base" version "1.5.0" id "java" id "scala" } import com.github.jrubygradle.JRubyExec repositories { @@ -11,39 +11,41 @@ } configurations { provided } -version = "0.1.2" +version = "0.1.3" sourceCompatibility = 1.7 targetCompatibility = 1.7 dependencies { compile "org.embulk:embulk-core:0.8.22" compile "org.scala-lang:scala-library:2.11.11" - compile group: 'com.sksamuel.avro4s', name: 'avro4s-core_2.11', version: '1.6.4' + compile group: 'com.sksamuel.avro4s', name: 'avro4s-core_2.11', version: '1.8.3' compile group: 'io.circe', name: 'circe-core_2.11', version: '0.8.0' compile group: 'io.circe', name: 'circe-generic_2.11', version: '0.8.0' - provided "org.embulk:embulk-core:0.8.22" + provided "org.embulk:embulk-core:0.9.7" } task classpath(type: Copy, dependsOn: ["jar"]) { doFirst { file("classpath").deleteDir() } from (configurations.runtime - configurations.provided + files(jar.archivePath)) into "classpath" } clean { delete "classpath" } task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) { - jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build" - script "${project.name}.gemspec" + jrubyArgs "-S" + script "gem" + scriptArgs "build", "${project.name}.gemspec" doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") } } task gemPush(type: JRubyExec, dependsOn: ["gem"]) { - jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "push" - script "pkg/${project.name}-${project.version}.gem" + jrubyArgs "-S" + script "gem" + scriptArgs "push", "pkg/${project.name}-${project.version}.gem" } task "package"(dependsOn: ["gemspec", "classpath"]) { doLast { println "> Build succeeded."