build.gradle in embulk-output-hdfs-0.3.0 vs build.gradle in embulk-output-hdfs-0.4.0.pre

- 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 "checkstyle" id "com.github.kt3k.coveralls" version "2.4.0" id "jacoco" } @@ -13,24 +13,23 @@ } configurations { provided } -version = "0.3.0" +version = "0.4.0.pre" -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 dependencies { - compile "org.embulk:embulk-core:0.8.38" - provided "org.embulk:embulk-core:0.8.38" + compile "org.embulk:embulk-core:0.9.20" + provided "org.embulk:embulk-core:0.9.20" // 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' + compile 'org.apache.hadoop:hadoop-client:2.9.2' testCompile "junit:junit:4.+" - testCompile "org.embulk:embulk-core:0.8.38:tests" - testCompile "org.embulk:embulk-standards:0.8.38" + testCompile "org.embulk:embulk-core:0.9.20:tests" + testCompile "org.embulk:embulk-standards:0.9.20" } task classpath(type: Copy, dependsOn: ["jar"]) { doFirst { file("classpath").deleteDir() } from (configurations.runtime - configurations.provided + files(jar.archivePath)) @@ -60,17 +59,19 @@ classpath = sourceSets.main.output + sourceSets.test.output source = sourceSets.main.allJava + sourceSets.test.allJava } 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."