Almost 0 Java experience & trying to incorpora...
# cfml-general
j
Almost 0 Java experience & trying to incorporate a Java Library in my app for starting a SMART on FHIR app. How would I take this github repository (https://github.com/HealthLX/smart-on-fhir) and turn it into a .JAR file to use in my CFML?
b
As long as you have a supported JDK installed and ready to go, it looks like you can clone the project (or, likely safer to just download their last release here https://github.com/HealthLX/smart-on-fhir/archive/refs/tags/0.3.5.zip), cd into the root and run the command 'gradelw' (which will run the gradlew binary on macOS/*nix or gradelw.bat on windows). Just a quick peak at those looks like it will create the jar file for you.
j
Thank you a bunch guys. These are some excellent resources to get started, I think I know what I'm doing now 🙂
👍 1
j
Looks like https://mvnrepository.com/artifact/com.healthlx.smartonfhir/config is the official distribution for the precompiled version.
(mvnrepository.com is a frontend for the maven central that they mention in their readme)
💙 1
b
Jochem is right. The jar is under "Files" here: https://mvnrepository.com/artifact/com.healthlx.smartonfhir/config/0.3.5
💙 1
j
You guys rock!!! Thank you so much. I love when things are as easy as a button click 😂
👍 2