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

Demonstrate using dynamic versions in the Convention Develocity samples #1272

Merged
merged 5 commits into from
Jun 27, 2024

Conversation

erichaagdev
Copy link
Member

@erichaagdev erichaagdev commented Jun 21, 2024

This improves the Convention Develocity samples with examples and documentation for using dynamic versions.

@erichaagdev erichaagdev self-assigned this Jun 21, 2024
@erichaagdev erichaagdev changed the title Demonstrate using dynamic versions in the convention samples Demonstrate using dynamic versions in the Convention Develocity samples Jun 21, 2024
@erichaagdev erichaagdev force-pushed the erichaagdev/conventions-dynamic-versions branch from 9b06d19 to 32ca33e Compare June 21, 2024 02:09
convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Show resolved Hide resolved
convention-develocity-maven-extension/README.md Outdated Show resolved Hide resolved
convention-develocity-maven-extension/README.md Outdated Show resolved Hide resolved
@erichaagdev erichaagdev force-pushed the erichaagdev/conventions-dynamic-versions branch from 5d28fef to f8554c8 Compare June 21, 2024 15:52
Comment on lines +29 to +32
> [!IMPORTANT]
> Using version ranges should only be done when releases and development versions are published to separate repositories.
> Not having this separation introduces the risk that consumers will use a development version of the extension not yet ready to be used.
> In these scenarios, using a static version is preferred.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

convention-develocity-gradle-plugin/README.md Outdated Show resolved Hide resolved
convention-develocity-gradle-plugin/README.md Show resolved Hide resolved
Copy link
Member

@clayburn clayburn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Everything I mention here is a nitpick and can be ignored 🙂

convention-develocity-gradle-plugin/README.md Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the addition of gradle_6.9_and_later, the gradle_6 sample may be a little misleading. A Gradle 6.9 user may find and use the gradle_6 sample since, by name, it applies to them as well.

The sample will still work for them here, and I worry that clarify the gradle_6 sample to something like gradle_6.0_through_6.8 just adds verbosity without much benefit. So the best route may just be to keep the name as-is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point, but personally I prefer the simplicity.

@erichaagdev erichaagdev force-pushed the erichaagdev/conventions-dynamic-versions branch from 3ec3fcc to 4612e5d Compare June 21, 2024 18:01
@erichaagdev erichaagdev force-pushed the erichaagdev/conventions-dynamic-versions branch from 264f19e to 4ec80dd Compare June 27, 2024 14:40
@erichaagdev erichaagdev merged commit f3a8aa0 into main Jun 27, 2024
14 checks passed
@erichaagdev erichaagdev deleted the erichaagdev/conventions-dynamic-versions branch June 27, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants