freefair / gradle-plugins

Gradle Plugin Collection
https://docs.freefair.io/gradle-plugins/current/reference/
MIT License
221 stars 33 forks source link

Add access to source sets for code generators #194

Open Favorlock opened 4 years ago

Favorlock commented 4 years ago

Would be good to have access to the different source sets of a project in code generators.

Frisch12 commented 4 years ago

You have generateCode tasks for every source set that exists and your generator is called for every of these. I will check if I could add your requested feature easily. If not please give me some time to add it. Otherwise feel free to create a pull request 😄

Tank you for your support 👍

Favorlock commented 4 years ago

Thanks. My main concern is that there didn't appear to be any file reference to the source sets directory. Would be good to have access to the directory along with any other relevant information about the source set.