// Finalizing here, as we need this to run after any 'assembling' task (jar, link, etc) is created.
@Finalize
void createSourceTransformTasks(final TaskContainer tasks, final BinaryContainer binaries, LanguageRegistry languageRegistry) {
for (LanguageRegistration<?> language : languageRegistry) {
for (BinarySpecInternal binary : binaries.withType(BinarySpecInternal.class)) {
final CreateSourceTransformTask createRule = new CreateSourceTransformTask(language);
createRule.createCompileTasksForBinary(tasks, binary);
}
}
}