title: Build runnable jar google Dataflow project with Gradle
body: <p>I'm trying to build a runnable jar from Google Dataflow project with Gradle.
  I just added this code in <code>build.gradle</code> to export jar:</p>
  
  <pre><code>task fatJar(type: Jar) {
      manifest {
          attributes 'Implementation-Title': 'Deepmind Jar File',
                  'Implementation-Version': version,
                  'Main-Class': 'MyMainClass'
      }
      baseName = project.name + '-all'
      from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
      with jar
  }
  </code></pre>
  
  <p>I had tried with sample main class to export jar and it works fine.
  But when I applied main class that contains google dataflow pipeline, after I run the jar file, I got an error:</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalStateException: Unable to return a default Coder for Transform: UsersNormalize/RemoveDuplication: usersDailyCollection/Format: usersDailyNormalize/ParMultiDo(Anonymous).out0 [PCollection]. Correct one of the following root causes:
    No Coder has been manually specified;  you may do so using .setCoder().
    Inferring a Coder from the CoderRegistry failed: Unable to provide a Coder for com.google.api.services.bigquery.model.TableRow.
    Building a Coder using a registered CoderProvider failed.
    See suppressed exceptions for detailed failures.
    Using the default output Coder from the producing PTransform failed: Unable to provide a Coder for com.google.api.services.bigquery.model.TableRow.
    Building a Coder using a registered CoderProvider failed.
    See suppressed exceptions for detailed failures.
  </code></pre>
  
  <p>Can anybody help to solve this problem or suggest how to create a runnable jar for google dataflow project?</p>