Overriding user's daemon settings to ensure input can be read (System.console.readLine).
Change-Id: I26acf87d28e98efae03ab8691b0e9a4dbe89ed40
diff --git a/sample-create b/sample-create
index 500e468..276f0af 100755
--- a/sample-create
+++ b/sample-create
@@ -39,5 +39,6 @@
COMMONPATH=$(perl -e "use File::Spec; print File::Spec->abs2rel(@ARGV)" $SAMPLES_COMMON $SAMPLE_PATH)
# Launch a Gradle build with the SampleGen creation parameters on the command line
-$GRADLE -b $SCRIPTPATH/build.gradle --info create -Pout=$SAMPLE_PATH \
+# Note: Daemon disabled since the script reads for System.console. This overrides user settings.
+$GRADLE -b $SCRIPTPATH/build.gradle --info --no-daemon create -Pout=$SAMPLE_PATH \
-PcalledFrom=$CALLED_FROM -PpathToSamplesCommon=$COMMONPATH -PpathToBuild=$BUILDPATH