make tstl explicitly depend on package.json
This commit is contained in:
parent
6c6526eda9
commit
88982d818a
2 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ plugins {
|
||||||
`project-report`
|
`project-report`
|
||||||
`build-dashboard`
|
`build-dashboard`
|
||||||
|
|
||||||
kotlin("multiplatform") apply false // try to stop error 'Projects must be configuring'
|
// kotlin("multiplatform") apply false // try to stop error 'Projects must be configuring'
|
||||||
// kotlin("js") apply false // try to stop error 'Projects must be configuring'
|
// kotlin("js") apply false // try to stop error 'Projects must be configuring'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,8 @@ dependencies {
|
||||||
val typescriptToLua by tasks.registering(TypescriptToLuaTask::class) {
|
val typescriptToLua by tasks.registering(TypescriptToLuaTask::class) {
|
||||||
dependsOn(tasks.npmInstall, installEventsTsSchema, tasks.updatePackageJson)
|
dependsOn(tasks.npmInstall, installEventsTsSchema, tasks.updatePackageJson)
|
||||||
|
|
||||||
|
inputs.file(tasks.updatePackageJson.map { it.packageJsonFile })
|
||||||
|
|
||||||
sourceFiles.set(tsSrcDir)
|
sourceFiles.set(tsSrcDir)
|
||||||
|
|
||||||
outputDirectory.set(layout.projectDirectory.dir("src/generated/lua"))
|
outputDirectory.set(layout.projectDirectory.dir("src/generated/lua"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue