Currently tested with tinkerpop 3.2.5 only on gremlin-console.
GREMLIN_HOME
.<ivysettings> <settings defaultResolver="downloadGrapes"/> <resolvers> <chain name="downloadGrapes"> <filesystem name="cachedGrapes"> <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/> <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/> </filesystem> <ibiblio name="local" root="file:${user.home}/.m2/repository/" m2compatible="true"/> <ibiblio name="codehaus" root="http://repository.codehaus.org/" m2compatible="true"/> <ibiblio name="central" root="http://central.maven.org/maven2/" m2compatible="true"/> <ibiblio name="jitpack" root="https://jitpack.io" m2compatible="true"/> <ibiblio name="java.net2" root="http://download.java.net/maven/2/" m2compatible="true"/> </chain> </resolvers> </ivysettings>
following is how to setup this project on m2 repository.
sbt "project s2graph_gremlin" publishM2
: this will create single fat jar under m2 repository.GREMLIN_HOME
is correct.cd s2graph_gremlin/examples
.sh install_plugin.sh
.${GREMLIN_HOME}/bin/gremlin.sh
s2graph_modern.groovy
to play with modern graph comes with tinkerpop.s2graph_getting_started.groovy
for s2graph specific methods.