Skip to content

Commit

Permalink
Add AuthApi to GradleEnterpriseApi
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfeo committed Apr 2, 2024
1 parent e7df0f7 commit 63e6299
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import retrofit2.create
*/
interface GradleEnterpriseApi {

val authApi: AuthApi
val buildsApi: BuildsApi
val buildCacheApi: BuildCacheApi
val projectsApi: ProjectsApi
Expand Down Expand Up @@ -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() }
Expand Down

0 comments on commit 63e6299

Please sign in to comment.