Composite Build Support for plugins block


(Rob Winch) #1

I see that the documentation states:

Substituting plugins only works with the buildscript block but not with the plugins block.

Are there any plans / ticket for implementing this soon? I have not been able to find a github ticket for this.

I think this would be an awesome feature. I am writing tests with TestKit and the tests actually exist in a samples directory. I’d like to be able to run the samples with TestKit and composite build for easily debugging issues.


(Benjamin Muschko) #2

@daz @st_oehme Can you guys give some advice here?


(Stefan Oehme) #3

This would first require dependency substitution to support custom publications (because the plugin marker artifacts never match the default project.group:project.name). Is that on the agenda for Q2 @daz?

If the above is implemented, then adding substitution support for the plugins DSL on top of that should be pretty easy.


#4

Not that I’m aware of.


(Rob Winch) #5

Thanks for the replies. Is there a ticket I can track or should one be created?


#6

I don’t think there is a current issue for this. It would be great if you could create an issue at https://github.com/gradle/gradle/issues


(Rob Winch) #7

Thanks for the reply. I created https://github.com/gradle/gradle/issues/1518

Looking forward to using this new feature when it gets added :slight_smile: