A tab completion script that works for Bash. Relies on the BSD md5 command on Mac and md5sum on Linux, so as long as you have one of those two commands, this should work.
$ gradle [TAB]
| # Ubuntu 18.04 and various Docker images such as openjdk:9-jdk throw exceptions when | |
| # Java applications use SSL and HTTPS, because Java 9 changed a file format, if you | |
| # create that file from scratch, like Debian / Ubuntu do. | |
| # | |
| # Before applying, run your application with the Java command line parameter | |
| # java -Djavax.net.ssl.trustStorePassword=changeit ... | |
| # to verify that this workaround is relevant to your particular issue. | |
| # | |
| # The parameter by itself can be used as a workaround, as well. |
| publishing { | |
| publications { | |
| maven(MavenPublication) { | |
| // ... | |
| // Manually add dependencies to pom until maven-publish knows how to do it | |
| pom.withXml { | |
| def dependenciesNode = asNode().appendNode('dependencies') | |
| //Iterate over the compile dependencies (we don't want the test ones), adding a <dependency> node for each |
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |