Skip to content
/ tpl Public

Create project/module from template, such as buildSrc plugin for Android Project

License

Notifications You must be signed in to change notification settings

hacktons/tpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpl

Create project form template, such buildSrc plugin

1. Install the buildSrc

Install the buildSrc into current folder, copy and past the commands into your terminal.

echo "$(curl -fsSL https://raw.githubusercontent.com/hacktons/tpl/master/install-buildsrc)" | bash

PS: Inspired by the homebrew installation way

Now you will have some generated files:

2. Apply the plugin

Apply the plugin into your project.

apply plugin: 'com.android.application'
apply plugin: 'hi' // 'hi' is our plugin name 

3. Happy coding

Now your can build/sync within Android Studio, the buildSrc should just work fine.

About

Create project/module from template, such as buildSrc plugin for Android Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages