I'm trying to set the kotlin compile src to a different directory that i use to replace tokens in the source code. With the above code, it just adds the copied directory as additional sources and i get re-declaration errors. What is the correct approach to this?