Skip to content
Permalink
Browse files

fix gcs nio provider not loaded

  • Loading branch information...
ssadedin committed Apr 23, 2019
1 parent 8df8dd7 commit 6903056bf58bebbce57d908002f0efd487158c89
Showing with 16 additions and 15 deletions.
  1. +1 −1 bin/bpipe
  2. +15 −14 build.gradle
@@ -641,7 +641,7 @@ LAUNCH_CMD='
-Dbpipe.version='$VERSION' \
-Dbpipe.builddate='$BUILDDATE' \
org.codehaus.groovy.tools.GroovyStarter \
--classpath "'"$BPIPE_JAR:$BPIPE_HOME/local-lib/slf4j/*:$BPIPE_HOME/lib/slf4j/*"'" \
--classpath "'"$BPIPE_JAR:$BPIPE_HOME/build/libs/bpipe-cloud.jar:$BPIPE_HOME/lib/bpipe-cloud.jar:$BPIPE_HOME/local-lib/slf4j/*:$BPIPE_HOME/lib/slf4j/*"'" \
--main bpipe.Runner9 '$TESTMODE' '$BPIPE_ARGS' > .bpipe/logs/$$.log 2>&1
'

@@ -1,7 +1,11 @@

plugins {
id 'com.github.johnrengelman.shadow' version '4.0.2'
}

apply plugin: 'eclipse'
apply plugin: 'groovy'


project.ext {
VERSION="0.9.9.7"
STAGE="build/stage/bpipe-$VERSION"
@@ -117,6 +121,7 @@ jar {
!it.name.startsWith("xml-apis") &&
!it.name.startsWith("slf4j-jdk14")
}.collect {
// println "main: " + it.name
it.isDirectory() ? it : zipTree(it)
}

@@ -127,21 +132,17 @@ jar {
}
}

task cloudjar(type:Jar) {
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

archiveName='bpipe-cloud.jar'

def cloudJars = configurations.cloudJar*.name
def coreJars = configurations.compile*.name
def cloudOnly = cloudJars - coreJars
task cloudjar(type:ShadowJar) {

archiveName='bpipe-cloud.jar'

from {
configurations.cloudJar.grep {
it.name in cloudOnly
}.collect {
it.isDirectory() ? it : zipTree(it)
}
}
classifier='all'

configurations = [project.configurations.cloudJar]

mergeServiceFiles()
}

task stage(dependsOn: [jar,cloudjar]) {

0 comments on commit 6903056

Please sign in to comment.
You can’t perform that action at this time.