-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
…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") |
There was a problem hiding this comment.
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
buildFile.delete() | ||
TestUtils.buildFile(buildFile, """ | ||
assertJ { |
There was a problem hiding this comment.
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.
There was a problem hiding this 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). |
There was a problem hiding this comment.
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.
…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
togenerated-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).