- This is a sample repostiory in order to test the Intercom Java library that interacts with Intercom's API
- Check for any minimum required version of the JDK on https://github.com/intercom/intercom-java
- Download appropriate / latest version of the Java SE Development Kit from Oracle http://www.oracle.com/technetwork/java/javase/downloads/
- The
intercom-javalibrary uses several dependencies needed in order to work - Listed in https://github.com/intercom/intercom-java/blob/master/build.gradle
- Select the appropriate directory needed for your type of installation
- Add to
build.gradle
- Create Gradle, Java project 
- Specify details 
- Check "Auto Import" and "Create directories for empty content roots automatically" 
- Specify project details 
- Update
build.gradleto include appropriate changes - If "Auto Import" not selected, can manually synchronize changes via View > Tool Windows > Gradle  
- Create new code
.javafile  - Make code changes and run project 
- Auto generated run profile

- If not auto generated, manually create and add a new Application Configuration 
- Select the appropriate Main class 
- Completed run profile 
- Download
.jarfiles from repositories such as MvnRepository https://mvnrepository.com/ - Place
.jarfiles independenciesdirectory
- Create Project 
- Select Java app and create/select JDK if necessary 
- Create from a template and select Command Line App 
- Right click project > Module Settings to add dependencies 
- Manually select a Jar 
- Added Jar 
- Import class as necessary 
- See working code 
- Create code and run project 
- Download
.jarfiles from repositories such as MvnRepository https://mvnrepository.com/ - Place
.jarfiles independenciesdirectory
javac -cp ./dependencies/*:./ Main.java
java -cp ./dependencies/*:./ Main
./gradlew build
./gradlew run