##// END OF EJS Templates
Добавлена метка v1.2.7 для набора изменений 70058deb750d
Добавлена метка v1.2.7 для набора изменений 70058deb750d

File last commit:

r79:e5bb5e80ce96 v1.2.3 default
r88:853046db16dc default
Show More
build.gradle
77 lines | 1.9 KiB | text/x-groovy | GroovyLexer
cin
Converted to subproject djx, removed dojo-typings
r65 plugins {
id "org.implab.gradle-typescript" version "1.3.3"
id "ivy-publish"
}
typescript {
compilerOptions {
lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
//listFiles = true
declaration = true
strict = true
types = []
module = "amd"
it.target = "es5"
experimentalDecorators = true
cin
fixed tslint errors, added support for private methods to @on() decorator
r79 noUnusedLocals = true
cin
Converted to subproject djx, removed dojo-typings
r65 jsx = "react"
jsxFactory = "createElement"
moduleResolution = "node"
// dojo-typings are sick
skipLibCheck = true
// traceResolution = true
// baseUrl = "./"
// paths = [ "*": [ "$projectDir/src/typings/*" ] ]
// baseUrl = "$projectDir/src/typings"
// typeRoots = ["$projectDir/src/typings"]
}
tscCmd = "$projectDir/node_modules/.bin/tsc"
tsLintCmd = "$projectDir/node_modules/.bin/tslint"
esLintCmd = "$projectDir/node_modules/.bin/eslint"
}
configureTsMain {
sourceFiles {
from sources.main.typings
}
compilerOptions {
// baseUrl = "$projectDir/src"
/*paths = [
"dojo/*" : [ "typings/dojo/*" ],
"dijit/*" : [ "typings/dijit/*" ]
]*/
cin
Switched to @implab/dojo-typings
r71 types = ["requirejs", "@implab/dojo-typings"]
cin
Converted to subproject djx, removed dojo-typings
r65 }
}
configureTsTest {
compilerOptions {
typeRoots = []
types = ["requirejs", sources.main.output.typingsDir.get().toString() ]
}
}
npmPackMeta {
meta {
name = "@$npmScope/$project.name"
}
}
task npmPackTypings(type: Copy) {
dependsOn typings
npmPackContents.dependsOn it
from typescript.typingsDir
into npm.packageDir
}
task printVersion {
doLast {
println "packageName: ${npmPackMeta.metadata.get().name}";
println "version: $version";
println "target: $typescript.compilerOptions.target";
println "module: $typescript.compilerOptions.module";
println "symbols: $symbols";
}
}