File tree 2 files changed +20
-1
lines changed
buildSrc/src/main/kotlin/com/google/firebase/example/dataconnect/gradle
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
21
21
import kotlinx.serialization.Transient
22
22
23
23
@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
+ ) :
25
29
java.io.Serializable {
26
30
companion object {
27
31
@Suppress(" ConstPropertyName" )
Original file line number Diff line number Diff line change 6
6
# path of the npm executable to use works around that problem. Setting it to null
7
7
# uses "npm" as found in the PATH.
8
8
#
9
+ # NOTE: If this value is set then you almost certainly want to set nodeExecutable
10
+ # as well.
11
+ #
9
12
# eg. npmExecutable = "/home/myusername/local/nvm/versions/node/v20.13.1/bin/npm"
10
13
npmExecutable = 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