Class JdkConfig


  • public class JdkConfig
    extends Object
    Detects the JDK folder from the gradle project, and wraps it in an API.
    • Constructor Detail

      • JdkConfig

        public JdkConfig​(Project project)
        Creates a JDK using the project's `org.gradle.java.home` property.
      • JdkConfig

        public JdkConfig​(File rootFile)
    • Method Detail

      • getRootFolder

        public File getRootFolder()
        Returns the folder at the root of the JDK.
      • getJdkLibs

        public List<File> getJdkLibs()
        Returns the JDK's libs which you're going to link against.