We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31a3a3f commit 9f90af2Copy full SHA for 9f90af2
contract-typespec/build.gradle
@@ -32,7 +32,9 @@ def typeSpecs = ["api"]
32
33
typeSpecs.each { spec ->
34
35
- def tspPath = "\\tsp --output-dir=${project.layout.buildDirectory.get()}/tsp/${spec} compile .\\"
+ def buildDir = project.layout.buildDirectory.get().asFile
36
+ def outputDir = new File(buildDir, "tsp${File.separator}${spec}")
37
+ def tspPath = "tsp --output-dir=\"${outputDir}\" compile ."
38
39
tasks.register("installDependencies_${spec}", NpmTask) {
40
group = 'build'
0 commit comments