Skip to content

Commit

Permalink
Add gradle --configure-on-demand flag to bintray upload script
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
protyposis committed Aug 21, 2016
1 parent 99c3058 commit 9159ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bintrayupload.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 9159ce5

Please sign in to comment.