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"; } }