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

[Simplification] Remove global options in plugin in favour of source-… #30

Merged
merged 2 commits into from
Apr 22, 2023

Conversation

Nava2
Copy link
Collaborator

@Nava2 Nava2 commented Apr 21, 2023

…set specific only

Related to #17, extracted from #29.

This removes the complicated "global" options in favour of a simpler "source-set" specific set of options instead. When fixing the default options, the path was updated from generated-srcs/test/java to generated-srcs/${sourceSet.name}-test/java as this is more accurate to what these sources are.

This was extracted as part of a refactor to update this project to use modern gradle paradigms (#29).

…set specific *only*

This removes the complicated "global" options in favour of a simpler "source-set" specific set of options intead.

This was extracted as part of a refactor to update this project to use modern gradle paradigms. Extracted from #29.

implementation("com.google.guava:guava:31.1-jre")
testCompileOnly("org.jetbrains:annotations:24.0.1")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Only change here was this

@Nava2 Nava2 requested a review from scordio April 21, 2023 15:05
buildFile.delete()
TestUtils.buildFile(buildFile, """
assertJ {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All of these changes are replacing a "global config" with a source-set specific version.

Copy link
Member

@scordio scordio left a comment

Choose a reason for hiding this comment

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

LGTM 👍 thanks, @Nava2!

provided by the [AssertJ Generator Maven Plugin](http://joel-costigliola.github.io/assertj/assertj-assertions-generator-maven-plugin.html).

provided by
the [AssertJ Generator Maven Plugin](http://joel-costigliola.github.io/assertj/assertj-assertions-generator-maven-plugin.html).
Copy link
Member

Choose a reason for hiding this comment

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

I just realized we still host the generator documentation at the old website, I raised assertj/doc#139 to track this.

@Nava2 Nava2 merged commit c4b2567 into main Apr 22, 2023
4 checks passed
@Nava2 Nava2 deleted the kevin/update-tests-for-kotlin-change branch April 22, 2023 10:00
Nava2 added a commit that referenced this pull request Apr 22, 2023
…mplates`

This is extracted from #31

This removes unused methods that were knock ons from #30. This fixes issues with serialization of the `Templates` value when computing if the tasks should run.
Nava2 added a commit that referenced this pull request Apr 22, 2023
…mplates`

This is extracted from #31

This removes unused methods that were knock ons from #30. This fixes issues with serialization of the `Templates` value when computing if the tasks should run.
Nava2 added a commit that referenced this pull request Apr 22, 2023
…mplates`

This is extracted from #31

This removes unused methods that were knock ons from #30. This fixes issues with serialization of the `Templates` value when computing if the tasks should run.
Nava2 added a commit that referenced this pull request Apr 22, 2023
…mplates` (#32)

This is extracted from #31

This removes unused methods that were knock ons from #30. This fixes issues with serialization of the `Templates` value when computing if the tasks should run.

Fixes #15.
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

2 participants