Skip to content

Commit ebe4310

Browse files
committed
build.gradle.kts: use dataConnectEmulatorExecutable.absolutePath instead of just dataConnectEmulatorExecutable
1 parent b142ccf commit ebe4310

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

firebase-dataconnect/demo/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ abstract class DataConnectGenerateSourcesTask : DefaultTask() {
226226
}
227227

228228
if (dataConnectEmulatorExecutable !== null) {
229-
execSpec.environment("DATACONNECT_EMULATOR_BINARY_PATH", dataConnectEmulatorExecutable)
229+
execSpec.environment(
230+
"DATACONNECT_EMULATOR_BINARY_PATH",
231+
dataConnectEmulatorExecutable.absolutePath,
232+
)
230233
}
231234
}
232235
}

0 commit comments

Comments
 (0)