Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler API for containers #65

Open
eskatos opened this issue Jun 20, 2023 · 0 comments
Open

Simpler API for containers #65

eskatos opened this issue Jun 20, 2023 · 0 comments

Comments

@eskatos
Copy link
Member

eskatos commented Jun 20, 2023

The API for using Gradle domain object containers is too large. The Kotlin and Groovy DSLs for using Gradle domain object containers are different and have too many peculiarities. Put another way, with containers there are too many ways to do the same thing.

This creates cognitive overhead for users by hurting the discoverability of API and DSLs and cluttering reference documentations. For the same question/problem one can find different answers/solutions on the interwebs, making learning Gradle harder. We also pay a cost in developer productivity and ability to move the product forward by carrying a lot of debt.

Let’s reduce the API surface and increase the DSLs uniformity by looking at this problem through the lens of containers.


This work impacts the Java API, the Groovy DSL and the Kotlin DSL.

@eskatos eskatos converted this from a draft issue Jun 20, 2023
@eskatos eskatos changed the title Simpler Java API, Groovy DSL and Kotlin DSL for containers Simpler API for containers Jun 23, 2023
@pioterj pioterj moved this from Q4 2023 to Later in Gradle Build Tool roadmap Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant