File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
smithy-typescript-codegen Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ sourceSets {
57
57
}
58
58
59
59
tasks.register(" set-dependency-versions" ) {
60
+ val packagesDir = project.file(" ../packages" )
61
+ var smithyTsSsdkLibs = project.file(" ../smithy-typescript-ssdk-libs" )
62
+
60
63
doLast {
61
64
mkdir(layout.buildDirectory.dir(" generated/resources/software/amazon/smithy/typescript/codegen" ).get().asFile)
62
65
var versionsFile = layout.buildDirectory
@@ -65,7 +68,7 @@ tasks.register("set-dependency-versions") {
65
68
.asFile
66
69
versionsFile.printWriter().close()
67
70
68
- val roots = project.file( " ../packages " ). listFiles().toMutableList() + project.file( " ../smithy-typescript-ssdk-libs " ) .listFiles().toList()
71
+ val roots = packagesDir. listFiles().toMutableList() + smithyTsSsdkLibs .listFiles().toList()
69
72
roots.forEach { packageDir ->
70
73
val packageJsonFile = File (packageDir, " package.json" )
71
74
if (packageJsonFile.isFile()) {
You can’t perform that action at this time.
0 commit comments