Get the Application Package name in template recipe class
I am working on MVVM plugin template for android studio. I completed most of the work.
But now I only need to get the application package name.
Their is a method
getPackageName(module: Module)
This method takes module as a input But I don't know how to pass the module as input.
My core requiremnet for this task is I want to create a directory in parent directory by stand in child directory.
For example:
I have four directories A, B, C, D.
A(parent) , B ( Child of A) , C (child of B) , D (Child of C).
let say I am standing in directory D and I want to create common directory (F) inside A along with B ( F sibling to B).
You can get the parent directory form srcOut like
And call it like
So If you want to save some file to the core application package..
For Linux and Mac Change above line to