diff --git a/script/prepare_gradle_properties.sh b/script/prepare_gradle_properties.sh index 46bc1ddc..ba8b1171 100755 --- a/script/prepare_gradle_properties.sh +++ b/script/prepare_gradle_properties.sh @@ -8,6 +8,9 @@ rm -f private_key.txt # Exports secrets. gpg --pinentry-mode loopback --passphrase "${GPG_PASSPHRASE}" --export-secret-keys -o ~/.gnupg/secring.gpg +# Creates gradle directory if not exists. +mkdir -p ~/.gradle + # Sets up gradle properties file. GRADLE_PROPERTIES_FILE="$1" cat << EOF > ~/.gradle/gradle.properties