fix downloadAndUnpackSamples
@@ -163,8 +163,11 @@ test {
task downloadAndUnpackSamples {
if(project.hasProperty("downloadOrionMigrationSamples")) {
+ mkdir "$buildDir"
ant.get(src: "https://github.com/ConsenSys/orion-to-tessera-migration-samples/archive/master.tar.gz", dest: "$buildDir/samples.tar.gz", skipexisting: true,verbose:true)
- ant.untar(src: "$buildDir/samples.tar.gz", dest: "$buildDir/resources/test/samples",overwrite: false,compression:"gzip")
+ ant.untar(src: "$buildDir/samples.tar.gz", dest: "$buildDir/resources/test/samples",overwrite: false,compression:"gzip", ) {
+ ant.cutdirsmapper(dirs: "1")
+ }
}
}
