Skip to content

Maven examples & Gradle update #14

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Maven examples & Gradle update #14

wants to merge 3 commits into from

Conversation

hankem
Copy link
Member

@hankem hankem commented Apr 22, 2025

This PR

  • adds pom.xml files to run the examples with Maven
  • updates Gradle to support more modern Java versions
  • improves the user experience when running the junit5 examples with IntelliJ IDEA

hankem added 3 commits April 21, 2025 12:35
IntelliJ IDEA did not offer to execute the `example-junit5` tests directly from the IDE,
but adding the `junit-jupiter-api` dependency changed this inconvenient behavior.

I've added the dependency to the `testCompileOnly` configuration
to suggest that it is not actually needed.

Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
to support more modern Java versions
e.g. https://docs.gradle.org/8.5/release-notes.html#full-java-21-support

Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
@hankem
Copy link
Member Author

hankem commented Apr 24, 2025

FYI: TNG/ArchUnit#1450 will update these pom.xmls with every release of ArchUnit.

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.

1 participant