##// END OF EJS Templates
Initial commit, copied files related to .tsx scripts support.
Initial commit, copied files related to .tsx scripts support.

File last commit:

r0:8e944df97a68 default
r0:8e944df97a68 default
Show More
build.gradle
38 lines | 1015 B | text/x-groovy | GroovyLexer
plugins {
id "org.implab.gradle-typescript" version "1.3.1"
id "ivy-publish"
}
typescript {
compilerOptions {
lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
listFiles = true
declaration = true
types = []
module = "amd"
it.target = "es5"
experimentalDecorators = true
jsx = "react"
jsxFactory = "createElement"
moduleResolution = "node"
}
tscCmd = "$projectDir/node_modules/.bin/tsc"
tsLintCmd = "$projectDir/node_modules/.bin/tslint"
esLintCmd = "$projectDir/node_modules/.bin/eslint"
}
configureTsMain {
compilerOptions {
types = ["requirejs", "dojo-typings"]
}
}
task printVersion {
doLast {
println "packageName: $packageName";
println "version: $version";
println "target: $typescript.compilerOptions.target";
println "module: $typescript.compilerOptions.module";
println "symbols: $symbols";
}
}