ext {
copyEditorHtmlToAppAssets = { dir ->
def fromF = new File(dir, '/src/editor.html');
def toF = new File(projectDir, '/src/main/assets/');
println ('Copying ZSSRichTextEditor html asset file from ' + fromF.toString() + ' to ' + toF.toString());
copy {
from fromF
into toF
}
}
}