I am newbie but I made some work on a Gradle script to regroup 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 !!