Note: This is just a quickly hacked together task
To Use:
- Paste the task below in a gradle build file
- Call
gradle invalidate -Pdependency=group:name:version
substituting the dependency you want to invalidate.
task runMyCode(dependsOn: 'classes', type: JavaExec) { | |
main = 'com.my.Code' | |
classpath = sourceSets.main.runtimeClasspath | |
args "arg1", "arg2" | |
} |
# Generic Aliases | |
alias ll='ls -latr' # List all file in long list format by modification time | |
alias ..='cd ..' # Go up one directory | |
alias ...='cd ../..' # Go up two directories | |
alias ....='cd ../../..' # Go up three directories | |
alias -- -='cd -' # Go back | |
alias c='clear' # Clear Screen | |
alias k='clear' # Clear Screen | |
alias cls='clear' # Clear Screen | |
alias _="sudo" # Execute with sudo |