-
Notifications
You must be signed in to change notification settings - Fork 0
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
Misc build logic improvements #5
Conversation
dae7252
to
5b909ed
Compare
b868bfd
to
ca57a6f
Compare
5b909ed
to
c021b41
Compare
sourceSets { | ||
create("compatibilityApi") | ||
create("enterpriseCompatibility") | ||
create("develocityCompatibility") | ||
} | ||
|
||
tasks.jar { | ||
from(sourceSetOutput("compatibilityApi")) | ||
from(sourceSetOutput("enterpriseCompatibility")) | ||
from(sourceSetOutput("develocityCompatibility")) | ||
} |
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.
Can't you use something like this?
val compatibilityApi by sourceSets.creating
///...
tasks.jar {
from(compatibilityApi.output)
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, I can. But I prefer that the plugin uses the same notation as its consumers (i.e., sourceSetOutput
extension function).
No description provided.