File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
buildSrc/src/main/kotlin/com/google/firebase/example/dataconnect/gradle Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ import kotlinx.serialization.Serializable
2121import kotlinx.serialization.Transient
2222
2323@Serializable
24- internal data class LocalConfig (val npmExecutable : String? = null , @Transient val srcFile : File ? = null ) :
24+ internal data class LocalConfig (
25+ val npmExecutable : String? = null ,
26+ val nodeExecutable : String? = null ,
27+ @Transient val srcFile : File ? = null
28+ ) :
2529 java.io.Serializable {
2630 companion object {
2731 @Suppress(" ConstPropertyName" )
Original file line number Diff line number Diff line change 66# path of the npm executable to use works around that problem. Setting it to null
77# uses "npm" as found in the PATH.
88#
9+ # NOTE: If this value is set then you almost certainly want to set nodeExecutable
10+ # as well.
11+ #
912# eg. npmExecutable = "/home/myusername/local/nvm/versions/node/v20.13.1/bin/npm"
1013npmExecutable = null
14+
15+ # The path of the "node" executable to use to run the "firebase" command.
16+ # Setting this is normally not necessary; however, if "node" is not in the global
17+ # PATH, or the wrong version is in the global PATH, then setting this to the absolute
18+ # path of the node executable to use works around that problem. Setting it to null
19+ # uses "node" as found in the PATH.
20+ #
21+ # NOTE: If this value is set then you almost certainly want to set npmExecutable
22+ # as well.
23+ #
24+ # eg. nodeExecutable = "/home/myusername/local/nvm/versions/node/v20.13.1/bin/node"
25+ nodeExecutable = null
You can’t perform that action at this time.
0 commit comments