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 7de1fbd commit e463ff5Copy full SHA for e463ff5
bulk-model-sync-gradle/src/main/kotlin/org/modelix/model/sync/bulk/gradle/tasks/ExportFromModelServer.kt
@@ -60,7 +60,12 @@ abstract class ExportFromModelServer @Inject constructor(of: ObjectFactory) : De
60
61
@TaskAction
62
fun export() {
63
- val client = ModelClientV2PlatformSpecificBuilder().url(url.get()).build().apply { runBlocking { init() } }
+ val client = ModelClientV2PlatformSpecificBuilder()
64
+ .url(url.get())
65
+ .build()
66
+
67
+ runBlocking { client.init() }
68
69
val branch = if (revision.isPresent) {
70
getBranchByRevision(client)
71
} else {
0 commit comments