-
Notifications
You must be signed in to change notification settings - Fork 76
Enables Compiler plugin for :samples #1456
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
Conversation
b7cd583 to
6c63c6a
Compare
f8b6e73 to
d7b85e5
Compare
d7b85e5 to
0a18483
Compare
0a18483 to
a96e2ac
Compare
6b326c2 to
8778ec9
Compare
| implementation(files(dependentProjectJarPaths)) | ||
|
|
||
| // include api() dependencies from dependent projects, as they are not included in the jars | ||
| dependentProjects.forEach { |
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.
Another way would be to have a shadowed jar in root project
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.
yes, but I wasn't sure how the compiler plugin would react to a shadowed version of dataframe being on the classpath instead of the actual jar
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.
and I have mixed experience with the shadowJar plugin
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.
Overall it's an approval from my side: what is the main problem - after a few months it will be hard to restore context of changes in Gradle tasks, could you add more explanation (move from ticket description or refer on that) in the stuff related to the instrumentationJar
Fixes #1432
instrumentedJarsconfiguration and artifact to each subproject with ajartask:samplescompilation depends on the jar task of each relevant moduleimplementation(projects.dataframe)in :samples with an explicit dependency on allinstrumentedJarsfrom all relevant modulesapi()) dependencies from relevant modules to :samples.