See documentation at the project web site.
Useful links:
Simply clone source code (git clone https://github.com/konsoletyper/teavm-flavour.git) and run maven build (mvn clean install).
git clone https://github.com/konsoletyper/teavm-flavour.git
mvn clean install