Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-dependency.sh')
-rwxr-xr-xscripts/update-dependency.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update-dependency.sh b/scripts/update-dependency.sh
new file mode 100755
index 00000000..02f24bc0
--- /dev/null
+++ b/scripts/update-dependency.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+find . -name "*.java" -or -name ".classpath" -or -name "*.versions" -or -name "*.properties" | xargs grep -l $1 | grep -v "ivy-cache\|target" | xargs sed -ie s/$1/$2/g
+find . -name "*.javae" -or -name ".classpathe" -or -name "*.versionse" -or -name "*.propertiese" | xargs rm

Back to the top