Since gradle keeps a lot of temporary junk in the .gradle directory, we
don't want that directory to be a symlink into our git repo.
# skip files which we don't want to link
[ "${basefile}" == ".git" ] && continue
[ "${basefile}" == ".gitignore" ] && continue
- #[ "${basefile}" == ".ssh" ] && continue
+ [ "${basefile}" == ".ssh" ] && continue
pushd .. > /dev/null
if [ -L ${basefile} ]; then
echo "chmod 600 ../.ssh/config"
chmod 600 ../.ssh/*
fi
+
+# Install .gradle/.gradle.properties
+mkdir -p ../.gradle
+pushd ../.gradle
+rm -f ./gradle.properties
+ln -s ../.gradle.properties ./gradle.properties
+popd