#!/bin/bash
if ./gradlew --stacktrace build publishToMavenLocal; then
    ./gradlew --stacktrace --settings-file=test-settings.gradle testPlugin
fi
#!/bin/bash
if ./gradlew --stacktrace build publishToMavenLocal; then
    ./gradlew --stacktrace --settings-file=test-settings.gradle testPlugin
else
    exit 1
fi
Exit with failure code when build fails
Exit with failure code when build fails
