Gradle experiment: Throw an exception quickly if trying to build release without RELEASE_STORE_FILE.

This commit is contained in:
Henrik Rydgård 2017-03-20 16:14:26 +01:00
parent 414249e904
commit d8859acb27

@ -20,6 +20,7 @@ android {
} else {
release {
// Can't build release builds without a key store.
throw new GradleException('This build type should only be invoked from CI. Use Optimized builds instead.')
}
}
}