Skip to content

Instantly share code, notes, and snippets.

def includeModules = { moduleList ->
// def extModuleDir = 'aw-common'
// def moduleList = ['wear-common', 'engine']
for (Map moduleData in moduleList) {
def module = ":" + moduleData['module']
def modulePath = moduleData['path'] + "/"
include module
/*
Expects the path to your module to be in the same base directory as your current project
@robedge
robedge / gist:2044588
Created March 15, 2012 14:51 — forked from salomvary/html5.html
HTML: minimal html5 boilerplate
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title></title>
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>