abstract fun connect(): ProjectConnection
Creates a connection to the project in the specified project directory. You should call org.gradle.tooling.ProjectConnection#close()
when you are finished with the connection.
UnsupportedVersionException
- When the target Gradle version does not support this version of the tooling API.
GradleConnectionException
- On failure to establish a connection with the target Gradle version.
Return
The connection. Never return null.
Since
1.0-milestone-3