i want to aquire the project root from a kotlin mo...
# gradle
s
i want to aquire the project root from a kotlin module
n
as mentioned before you can know the projectRoot at build time and then use a gradle task to somehow pass it to the program i have done that by writing it into
META-INF/MANFIFEST.MF
or using kotlin-poet to generate a constants object
i hope this is what you are trying to achive.. because then the compiled code will contain info fom the buildsystem, it will probably break when executed on other devices