Hello team, I am considering making a small contri...
# kontributors
i
Hello team, I am considering making a small contribution to BuildToolsApi. We are currently experimenting with integrating it into our build tool to simplify the integration of the incremental compiler. Following the contributing guidelines, I wanted to reach out first about the changes I am proposing. 1. Add an option to pass a custom fallback Classloader in SharedApiClassesClassLoader. We are using our own class loader which we require to be used if the name of the class does not start with allowedPackage. This change will be backward compatible thanks to default arguments. 2. Return null when mapping SourcesChanges.ToBeCalculated to ChangedFiles instead of ChangedFiles.Unknown() in icAdapters, which causes the module to be rebuilt (there is TODO for changing the logic). If I am not mistaken, null will force the compiler to calculate changed files itself. Since those are minor changes, I have not created Youtrack issues. Let me know if you have any concerns.
d
cc @tapchicoma
t
сс @Alexander.Likhachev
FYI: Build Tools API is not yet a stable API and may change in any Kotlin release
👍 1
i
Created KT-70557, KT-70556.
👍 1