From 9159ce5b5a72d56738fad015846cec961372c020 Mon Sep 17 00:00:00 2001 From: Mario Guggenberger Date: Sun, 21 Aug 2016 21:01:29 +0200 Subject: [PATCH] Add gradle --configure-on-demand flag to bintray upload script Gradle by default configures all projects, even the ones which will not be executed. Because of this, it always asks for the keystore passwords for the demo app, which is a PITA. Adding this flag makes the bintray upload script run without user interaction. --- bintrayupload.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bintrayupload.bat b/bintrayupload.bat index 5ac1cad..e7d42eb 100644 --- a/bintrayupload.bat +++ b/bintrayupload.bat @@ -8,5 +8,5 @@ SET apikey=%2 SET modules="MediaPlayer" "MediaPlayer-DASH" FOR %%m in (%modules%) DO ( - gradlew %%~m:clean %%~m:build %%~m:bintrayUpload -PbintrayUser=%username% -PbintrayKey=%apikey% -PdryRun=false + gradlew %%~m:clean %%~m:build %%~m:bintrayUpload -PbintrayUser=%username% -PbintrayKey=%apikey% -PdryRun=false --configure-on-demand )