Gradle Enterprise Api
Gradle Enterprise API client. API endpoints are grouped exactly as in the Gradle Enterprise API Manual:
Create an instance with newInstance:
val api = GradleEnterpriseApi.newInstance()
api.buildsApi.getBuilds(...)
Content copied to clipboard
You may pass a default Config, e.g. for sharing OkHttpClient resources:
val options = Options(clientBuilder = myOwnOkHttpClient.newBuilder())
val api = GradleEnterpriseApi.newInstance(options)
api.buildsApi.getBuilds(...)
Content copied to clipboard