This starter kit will set up an empty shell for your new Enonic lib.
Once initiated, you'll have the bare minimum needed to create a new Enonic library. You'll have all the folders set up, and can get straight to creating what you're creating.
You first need to install Enonic CLI:
npm install -g enonic-cliRun the following commands to create and build it:
~ $ enonic project create -r starter-lib mylib
~ $ cd mylib
~/mylib $ enonic project buildRun the following commands to create and build it:
~ $ enonic project create -r starter-lib -b xp7 mylib
~ $ cd mylib
~/mylib $ enonic project buildAfter you have created the project, you can use following command to publish to the local gradle repository:
~/mylib $ enonic project gradle pTMLThis will make the library available for use in other projects on the same machine.