1#!/bin/bash 2 3set -ex 4 5readonly GRADLE_PROJECTS=( 6 "java/dagger/example/gradle/simple" 7 "java/dagger/hilt/android/plugin" 8 "javatests/artifacts/dagger/simple" 9) 10for project in "${GRADLE_PROJECTS[@]}"; do 11 echo "Running gradle tests for $project" 12 ./$project/gradlew -p $project build --no-daemon --stacktrace 13 ./$project/gradlew -p $project test --no-daemon --stacktrace 14done 15