Once Amper supports extensibility, will there be a...
# amper
l
Once Amper supports extensibility, will there be a way to mark some sources as generated, and a programmatic way to know if a source set or file is generated? Tools like Detekt will be better with it (it's not supported in Gradle, BTW)
1
a
100% definitely, we already have a foundation for that
🎉 1
👀 1
❤️ 1
j
@louiscad What do you mean by "and a programmatic way to know if a source set or file is generated?"? From where do you want to know this?
l
@joffrey From a linter program. I don't need it myself, but static code analysis tools like detekt and others would.
🙏 1
j
Thanks for sharing. So what I can say for sure is that the first prototype will have a way to register generated sources as outputs of custom tasks. Regarding depending on generated sources as inputs, there will probably be a way to do so (as in depending on all sources), but it will probably not be possible to know which of these source dirs are generated or handwritten.
l
You mean not in the next version, but eventually possible?
j
Yes, I just mean for the first prototype iteration
👍🏼 1