Home > Blockchain >  How to create a project from github template with custom package name?
How to create a project from github template with custom package name?

Time:10-19

When I use template from enter image description here

  1. to template-cleanup put files which should overwrite the default. For example my gradle propeties has group and name fields. enter image description here

It will be rewritten by this part of code

 GROUP="com.companyname.$SAFE_NAME"

and moved to root by this

cp -R app/src/main/java/com/companyname/template/* app/src/main/java/${GROUP//.//}/
  • Related