Added maven and gradle snippets.