public class JdkConfig extends Object
Detects the JDK folder from the gradle project, and wraps it in an API.
| Modifier and Type | Field and Description |
|---|---|
List<String> |
jreLibs |
String |
name |
File |
rootFolder |
String |
source |
String |
target |
| Constructor and Description |
|---|
JdkConfig(File rootFile) |
JdkConfig(Project project)
Creates a JDK using the project’s
org.gradle.java.home property. |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
getJdkLibs()
Returns the JDK’s libs which you’re going to link against.
|
File |
getRootFolder()
Returns the folder at the root of the JDK.
|