@mendix/native 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/mendix.gradle
CHANGED
|
@@ -311,10 +311,10 @@ class MendixModules {
|
|
|
311
311
|
* Runs a specified command using Runtime exec() in a specified directory.
|
|
312
312
|
* Throws when the command result is empty.
|
|
313
313
|
*/
|
|
314
|
-
String getCommandOutput(String[] command
|
|
314
|
+
String getCommandOutput(String[] command) {
|
|
315
315
|
try {
|
|
316
316
|
def output = ""
|
|
317
|
-
def cmdProcess = Runtime.getRuntime().exec(command
|
|
317
|
+
def cmdProcess = Runtime.getRuntime().exec(command)
|
|
318
318
|
def bufferedReader = new BufferedReader(new InputStreamReader(cmdProcess.getInputStream()))
|
|
319
319
|
def buff = ""
|
|
320
320
|
def readBuffer = new StringBuffer()
|
|
@@ -348,7 +348,7 @@ class MendixModules {
|
|
|
348
348
|
ArrayList<HashMap<String, String>> reactNativeModules = new ArrayList<HashMap<String, String>>()
|
|
349
349
|
|
|
350
350
|
String[] reactNativeConfigCommand = [this.cliBinPath, "config"]
|
|
351
|
-
def reactNativeConfigOutput = this.getCommandOutput(reactNativeConfigCommand
|
|
351
|
+
def reactNativeConfigOutput = this.getCommandOutput(reactNativeConfigCommand)
|
|
352
352
|
|
|
353
353
|
def json
|
|
354
354
|
try {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|