Building Drivers

Hi! I'm starting to create a custom Druid SQL driver and have already read all the available chapters in the "driver building documentation" but I have this error.

metabase-source % lein install-for-building-drivers
'install-for-building-drivers' is not a task. See 'lein help'.

Hi @Palamariuk
Leining is not used anymore:
Please link to the documentation you are reading.

Thank you @flamber
After running clojure -X:deps prep I have following error:
Error compiling Java sources: nil

[{:type java.lang.NullPointerException,
[[$javac invokeStatic "javac.clj" 28]
[$javac invoke "javac.clj" 21]
[clojure.lang.Var invoke "" 384]
[$javac invokeStatic "api.clj" 316]
[$javac invoke "api.clj" 303]
[build$compile_java invokeStatic "build.clj" 10]
[build$compile_java invoke "build.clj" 7]
[clojure.lang.Var invoke "" 384]
[user$eval1 invokeStatic "NO_SOURCE_FILE" 1]
[user$eval1 invoke "NO_SOURCE_FILE" 1]
[clojure.lang.Compiler eval "" 7181]
[clojure.lang.Compiler eval "" 7170]
[clojure.lang.Compiler eval "" 7136]
[clojure.core$eval invokeStatic "core.clj" 3202]
[clojure.main$eval_opt invokeStatic "main.clj" 488]
[clojure.main$eval_opt invoke "main.clj" 482]
[clojure.main$initialize invokeStatic "main.clj" 508]
[clojure.main$null_opt invokeStatic "main.clj" 542]
[clojure.main$null_opt invoke "main.clj" 539]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "" 137]
[clojure.lang.Var applyTo "" 705]
[clojure.main main "" 40]]}
Execution error (NullPointerException) at (javac.clj:28).

Can't find solution for this.

I have Version:

@Palamariuk Where are you running that command from? The base directory of Metabase?
Post information about your environment:

# OS and version
 sed -nE 's/^PRETTY_NAME="([^"]+)"$/\1/p' /etc/os-release
# Git branch and commit
 echo `git status | head -1 && git log -1 --format="commit %H"`
# Java version and architecture
 java -version
# Java variable configuration
 echo $JAVA_HOME
# Java path configuration
 echo $PATH | grep --color=never -oe "/usr/lib/jvm/[^:]*"
# NodeJS version
 node --version
# Yarn version
 yarn --version
# Clojure version
 clojure --help | grep Version

Thank you very much for your help. It was my mistake, as ofter. I used java 8 version as default :sweat:

Now everything is good, I just built my first driver :sunglasses: