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
* Checks if a local build can be executed on the current machine.
182
182
* @param {string} platform The platform for which to check if local build is possible.
183
-
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes predescences over the projectDir argument.
183
+
* @param {string} projectDir @optional The project directory. Used to determine the Android Runtime version and validate the Java compiler version against it.
184
+
* If it is not passed or the project does not have Android runtime, this validation is skipped.
185
+
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes precedence over the projectDir argument.
184
186
* @return {Promise<boolean>} true if local build can be executed for the provided platform.
* @param {string} installedJavaVersion The version of javac to check.
446
448
* @param {string} projectDir @optional The project directory. Used to determine the Android Runtime version and validate the Java compiler version against it.
447
449
* If it is not passed or the project does not have Android runtime, this validation is skipped.
448
-
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes predescences over the projectDir argument.
450
+
* @param {string} runtimeVersion @optional The runtime version against which the validation is executed. In case this parameter is passed, it takes precedence over the projectDir argument.
449
451
* @return {NativeScriptDoctor.IWarning[]} An array of errors from the validation checks. If there are no errors will return [].
0 commit comments