

In order for gradle dependencies to resolve, these SSL certs need to be setup locally within a keystore.

The current project code-base I work with uses enterprise intranet maven-artifactory repositories, with enterprise org-specific SSL certs for TLS over SSH hand-shake. Using any other JDK installed in the Mac-machine is not recommended, and any issues are unsupported / disregarded, practically the User is responsible on their own for any unforeseen IDE based issues, including code-base compilation, gradle compiler run-time etc. Here's the catch - IntelliJ and Android Studio are both shipped with an Embedded JDK, and it is the only compatible run-time that those two IDEs operate in. `/usr/libexec/java_home` is the quinessential MacOS built-in that can scrape through all Java, JDK installations in `/Library/Java/JavaVirtualMachines` folder, and help setup JAVA_HOME environment variable accordingly. I work as an Android Engineer, and despite 10 years of developing Android Apps on Mac machines using Eclipse, IntelliJ and Android Studio etc, only today I have run into this problem, strangely.
