[ARVADOS] updated: 1.3.0-734-g8b65fa06a

Git user git at public.curoverse.com
Mon Apr 22 18:02:08 UTC 2019


Summary of changes:
 doc/sdk/java-v2/index.html.textile.liquid | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

       via  8b65fa06a3e82f8ff0830f11142b9046e848d5d0 (commit)
      from  30298819bc92b5ec90c8544bee7e102cb64e888d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8b65fa06a3e82f8ff0830f11142b9046e848d5d0
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon Apr 22 14:01:05 2019 -0400

    14670: Update documentation with example gradle file
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/doc/sdk/java-v2/index.html.textile.liquid b/doc/sdk/java-v2/index.html.textile.liquid
index 2693b6956..0a8953a66 100644
--- a/doc/sdk/java-v2/index.html.textile.liquid
+++ b/doc/sdk/java-v2/index.html.textile.liquid
@@ -10,13 +10,33 @@ Copyright (C) The Arvados Authors. All rights reserved.
 SPDX-License-Identifier: CC-BY-SA-3.0
 {% endcomment %}
 
-The Arvados Java SDK v2 provides a high level API for working with Arvados resources. It is packaged as a single JAR named
-arvados-java-<version>.jar, e.g. arvados-java-2.0.0.jar
-which can be included in your project using Gradle, Maven, or by hand.
+The Arvados Java SDK v2 provides a high level API for working with Arvados resources.
 
 h2. Using the SDK
 
-FIXME - Add intro text here
+The SDK is packaged as a JAR named @arvados-java-<version>.jar@, which is published to Maven Central and can be included using Maven, Gradle, or by hand.
+
+Here is an example @build.gradle@ file that uses the Arados java sdk:
+
+<pre>
+apply plugin: 'application'
+apply plugin: 'java-library'
+apply plugin: 'maven'
+
+repositories {
+    mavenCentral()
+}
+
+application {
+    mainClassName = "org.arvados.example.CollectionExample"
+}
+
+dependencies {
+    api 'org.arvados:arvados-java-sdk:0.1.0'
+}
+</pre>
+
+See "Java SDK Examples":example.html to get started using the SDK.
 
 h3. Logging
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list