typescript-gradle-plugin icon indicating copy to clipboard operation
typescript-gradle-plugin copied to clipboard

Bundle TypeScript compiler with the plugin

Open sothmann opened this issue 10 years ago • 0 comments

Include the tsc.js and *.d.ts files from a TypeScript node.js installation in the plugin.

Call the compiler by invoking the node executable. node tsc.js [Arguments for tsc]

Keep the "old way" of calling the tsc executable so users have a fall back if a new TypeScript version has been released but there is no update to the Gradle plugin yet.

Maybe use ProcessBuilder b = new ProcessBuilder("node tsc.js", "-args");

sothmann avatar Dec 01 '15 12:12 sothmann