Class JdkConfig

java.lang.Object
com.diffplug.gradle.pde.JdkConfig

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

    • rootFolder

      public File rootFolder
    • name

      public String name
    • source

      public String source
    • target

      public String target
    • jreLibs

      public List<String> jreLibs
  • Constructor Details

    • JdkConfig

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

      public JdkConfig(File rootFile)
  • Method Details

    • 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.