From b762fd798b72f7277ac234f6d1023b7bcddc9a26 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 28 Dec 2015 17:12:59 +0100 Subject: [PATCH 1/2] Add shield, dependency code and link to BigQueryExample to bigquery README --- gcloud-java-bigquery/README.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/gcloud-java-bigquery/README.md b/gcloud-java-bigquery/README.md index 077e4fbc332a..7fe65b5600c2 100644 --- a/gcloud-java-bigquery/README.md +++ b/gcloud-java-bigquery/README.md @@ -5,7 +5,7 @@ Java idiomatic client for [Google Cloud BigQuery] (https://cloud.google.com/bigq [![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) - +[![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-bigquery.svg)]( https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-bigquery.svg) - [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) - [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/bigquery/package-summary.html) @@ -16,18 +16,26 @@ Java idiomatic client for [Google Cloud BigQuery] (https://cloud.google.com/bigq Quickstart ---------- If you are using Maven, add this to your pom.xml file - - +```xml + + com.google.gcloud + gcloud-java-bigquery + 0.1.1 + +``` If you are using Gradle, add this to your dependencies - - +```Groovy +compile 'com.google.gcloud:gcloud-java-bigquery:0.1.1' +``` If you are using SBT, add this to your dependencies - +```Scala +libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.1" +``` Example Application ------------------- - - +- [`BigQueryExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality. +Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/BigQueryExample.html). Authentication -------------- From ab5ab13d13a70f00c5e9515fe21eed21b1e9a65c Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 28 Dec 2015 17:15:24 +0100 Subject: [PATCH 2/2] Fix gradle dependency code in all gcloud-java modules --- gcloud-java-core/README.md | 2 +- gcloud-java-datastore/README.md | 2 +- gcloud-java-examples/README.md | 2 +- gcloud-java-resourcemanager/README.md | 2 +- gcloud-java-storage/README.md | 2 +- gcloud-java/README.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcloud-java-core/README.md b/gcloud-java-core/README.md index edad8ea2c27e..89834e1c2361 100644 --- a/gcloud-java-core/README.md +++ b/gcloud-java-core/README.md @@ -22,7 +22,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-core:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala diff --git a/gcloud-java-datastore/README.md b/gcloud-java-datastore/README.md index a1442bfaa183..fa9eb22bf6fa 100644 --- a/gcloud-java-datastore/README.md +++ b/gcloud-java-datastore/README.md @@ -25,7 +25,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-datastore:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-datastore:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala diff --git a/gcloud-java-examples/README.md b/gcloud-java-examples/README.md index ff4e7bc258af..f0131e6ade84 100644 --- a/gcloud-java-examples/README.md +++ b/gcloud-java-examples/README.md @@ -22,7 +22,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-examples:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-examples:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala diff --git a/gcloud-java-resourcemanager/README.md b/gcloud-java-resourcemanager/README.md index 74079b13ab5b..f047df17515f 100644 --- a/gcloud-java-resourcemanager/README.md +++ b/gcloud-java-resourcemanager/README.md @@ -25,7 +25,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-resourcemanager:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-resourcemanager:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala diff --git a/gcloud-java-storage/README.md b/gcloud-java-storage/README.md index 208ff4d32480..724dfd137e79 100644 --- a/gcloud-java-storage/README.md +++ b/gcloud-java-storage/README.md @@ -25,7 +25,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-storage:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-storage:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala diff --git a/gcloud-java/README.md b/gcloud-java/README.md index 68f84d492025..4cb03390a91a 100644 --- a/gcloud-java/README.md +++ b/gcloud-java/README.md @@ -30,7 +30,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala