http://coldfusion.com logo
#cfml-general
Title
# cfml-general
j

Jason Ryan

04/27/2022, 9:05 PM
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

bhartsfield

04/28/2022, 1:40 PM
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

Jason Ryan

04/28/2022, 3:21 PM
Thank you a bunch guys. These are some excellent resources to get started, I think I know what I'm doing now 🙂
👍 1
j

Jochem

04/28/2022, 5:10 PM
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

bhartsfield

04/28/2022, 5:32 PM
Jochem is right. The jar is under "Files" here: https://mvnrepository.com/artifact/com.healthlx.smartonfhir/config/0.3.5
💙 1
j

Jason Ryan

04/28/2022, 8:25 PM
You guys rock!!! Thank you so much. I love when things are as easy as a button click 😂
👍 2