##// END OF EJS Templates
Corrected Scope.own() to cleanup the supplied object immediately when the scope is disposed already
Corrected Scope.own() to cleanup the supplied object immediately when the scope is disposed already

File last commit:

r107:e59104632d14 default
r131:c7d9ad82b374 v1.8.1 default
Show More
build.gradle
103 lines | 2.5 KiB | text/x-groovy | GroovyLexer
cin
Converted to subproject djx, removed dojo-typings
r65 plugins {
cin
Added playground project
r97 id "org.implab.gradle-typescript" version "1.3.4"
cin
Converted to subproject djx, removed dojo-typings
r65 id "ivy-publish"
}
cin
Added playground project
r97 configurations {
"default" {
canBeConsumed = true
canBeResolved = false
}
}
cin
Converted to subproject djx, removed dojo-typings
r65 typescript {
compilerOptions {
lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
cin
minor code cleanups
r93 // listFiles = true
cin
Converted to subproject djx, removed dojo-typings
r65 declaration = true
strict = true
types = []
module = "amd"
it.target = "es5"
experimentalDecorators = true
cin
minor code cleanups
r93 noUnusedLocals = false
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
Working on WatchForRendition
r107 types = ["requirejs", "@implab/dojo-typings", "@implab/dojo-typings/dojo/NodeList-fx"]
cin
Converted to subproject djx, removed dojo-typings
r65 }
}
configureTsTest {
compilerOptions {
typeRoots = []
types = ["requirejs", sources.main.output.typingsDir.get().toString() ]
}
}
cin
Working sandbox
r99 tasks.matching{ it.name =~ /^configureTs/ }.configureEach {
compilerOptions {
if (symbols != 'none') {
sourceMap = true
switch(symbols) {
case "local":
sourceRoot = ( isWindows ? "file:///" : "file://" ) + it.rootDir
break;
}
}
}
}
cin
Converted to subproject djx, removed dojo-typings
r65 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";
}
cin
Added playground project
r97 }
artifacts {
"default" (npm.packageDir) {
builtBy npmAssemblePackage
}
cin
Converted to subproject djx, removed dojo-typings
r65 }