kralli
06/05/2019, 1:29 PMCompilerConfiguration using the CompilerConfigurationExtension in order to get hold of the output directory. You can then write your own files using the BinaryClassWriter. This way is pretty safe and should be stable across future releases. The second method would be to use either the AnalysisHandlerExtension or the CollectAdditionalSourcesExtension to access and modify the list of source files. The list of sources is leaking and can simply be casted into a MutableList. While this can be pretty useful, it is not recommendable, because this will probably be fixed in the future.raulraja
06/05/2019, 2:17 PM