Not sur if it's the good place to share this, if not can you tell me where is it !
I am newbie but I made some work on a Gradle script to rebuild all kotlin file into a single one.
For what I need It work pretty well.
I use it like this
$ ./gradlew :module_name: buildSingleFile
The file is written in
If you have some tips or improvement don't be shy and share it !!