From 63e6299a0a12ad508b5bfe9dac64a2f9eedd9305 Mon Sep 17 00:00:00 2001 From: Gabriel Feo Date: Tue, 2 Apr 2024 22:57:38 +0100 Subject: [PATCH] Add AuthApi to GradleEnterpriseApi --- .../com/gabrielfeo/gradle/enterprise/api/GradleEnterpriseApi.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/src/main/kotlin/com/gabrielfeo/gradle/enterprise/api/GradleEnterpriseApi.kt b/library/src/main/kotlin/com/gabrielfeo/gradle/enterprise/api/GradleEnterpriseApi.kt index a8c5648f..89353e0d 100644 --- a/library/src/main/kotlin/com/gabrielfeo/gradle/enterprise/api/GradleEnterpriseApi.kt +++ b/library/src/main/kotlin/com/gabrielfeo/gradle/enterprise/api/GradleEnterpriseApi.kt @@ -33,6 +33,7 @@ import retrofit2.create */ interface GradleEnterpriseApi { + val authApi: AuthApi val buildsApi: BuildsApi val buildCacheApi: BuildCacheApi val projectsApi: ProjectsApi @@ -78,6 +79,7 @@ internal class RealGradleEnterpriseApi( ) } + override val authApi: AuthApi by lazy { retrofit.create() } override val buildsApi: BuildsApi by lazy { retrofit.create() } override val buildCacheApi: BuildCacheApi by lazy { retrofit.create() } override val projectsApi: ProjectsApi by lazy { retrofit.create() }