You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.gradle.kts
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -98,27 +98,18 @@ tasks {
98
98
register("pushDartClient") {
99
99
dependsOn("openApiGenerate")
100
100
doLast {
101
-
val clientDir = file("$buildDir/generated/dart-client")
101
+
val clientDir = file("$projectDir/build/generated/dart-client")
102
102
val version = project.version asString
103
103
104
104
// Get GitHub credentials from environment variables
105
105
val githubToken =System.getenv("CLIENT_REPO_TOKEN") ?:System.getenv("GITHUB_TOKEN") ?:throwGradleException("CLIENT_REPO_TOKEN or GITHUB_TOKEN environment variable is required")
106
106
107
107
// Create a temporary directory for the Git repository
108
-
val tempDir = file("$buildDir/temp/vulpes-client")
108
+
val tempDir = file("$projectDir/build/temp/vulpes-client")
0 commit comments