Gradle plugin to build typescript and produce .js
file.
It makes the assumption that the typescript files are in src/main/typescript
.
Just apply it to your project:
plugins {
id("io.github.zucchero-sintattico.typescript-gradle-plugin") version "<latest version>"
}
At the moment there are the following tasks:
CheckNode
: checks if node is installedcompileTypescript
: compiles the typescript file