Adding the gsql_client.jar version 3.0 to a repository

I am trying to get our Giraffle loaders working with TigerGraph 3.0. It would help our process if the gsql_client.jar is available in the Maven jcenter repository so we could just use this in our build processes:

On the server:
**GSQL >**  version
GSQL version: 3.0
GSQL commit number: 6adf4e2f7bb9064195a32c1fd993e7bf6dedac6d
GSQL commit date: 2020-03-17 17:41:20 -0700
Copyright (c) 2014-2020 TigerGraph. All rights reserved.
This product is protected by U.S. and international copyright and intellectual property laws.

On the client Giraffle needs to know what version to look for:

dependencies {
    gsqlRuntime("com.tigergraph.client:gsql_client:3.0")
}

I also had to add the following to the Docker image .bash_profile to get the right Java path:
alias java=’/home/tigergraph/tigergraph/app/3.0.0/.syspre/usr/lib/jvm/java-8-openjdk-amd64-1.8.0.171/bin/java’

$ java -jar gsql_client.jar version
GSQL version: 3.0
GSQL commit number: 6adf4e2f7bb9064195a32c1fd993e7bf6dedac6d
GSQL commit date: 2020-03-17 17:41:20 -0700
Copyright (c) 2014-2020 TigerGraph. All rights reserved.
This product is protected by U.S. and international copyright and intellectual property laws. 

Do you have anyone on staff that knows how to have gradle look in a local “libs” dir for the new client?

No urgency now. Josh Meekhof kindly walked me through the work-around. He told me to put the gsql_client.jar in a local ./lib directory and then add the following to the build file:

dependencies {
    gsqlRuntime(files("./lib/gsql_client.jar"))
}

So now we get the right version in all our Giraffle loaders:

$ gradle --console=plain gsqlShell
Connecting to localhost
If there is any relative path, it is relative to <System.AppRoot>/dev/gdk/gsql
Welcome to TigerGraph.
**GSQL >**  version
version
GSQL version: 3.0
GSQL commit number: 6adf4e2f7bb9064195a32c1fd993e7bf6dedac6d
GSQL commit date: 2020-03-17 17:41:20 -0700
Copyright (c) 2014-2020 TigerGraph. All rights reserved.
This product is protected by U.S. and international copyright and intellectual property laws. 

Note that this even works on java version “13.0.2” 2020-01-14.

Let me know if you push the new client to jcenter and I can test it for you.